• Skip to primary navigation
  • Skip to content
  • Skip to footer
Wannabe Exceptional
  • About
  • Slides

    Getting LDAP Epoch

    Getting LDAP Epoch

    less than 1 minute read

    Jan Peter Alexander

    Jan Peter Alexander

    There is nothing certain than the uncertainty itself. Capture, learn and mitigate. Welcome!

    • Planet Earth
    • Website
    • Twitter
    • Facebook
    • Instagram
    • Tumblr
    • GitHub
    • Last.fm
    • Steam
    • YouTube
    • Soundcloud

    Run this on the server:

    $ echo ' <?php echo strtotime("+185 days")/86400;' | php
    

    This is to have date 185 days from today in LDAP format. Useful to set LDAP expiry date.

    Tags: ldap

    Categories: ldap, php, terminal, tips

    Updated: October 4, 2017

    Twitter Facebook LinkedIn
    Previous Next

    You May Also Enjoy

    Upgrade Astro JS with PNPM

    less than 1 minute read

    Upgrade AstroJS

    Vitepress with Internationalization

    3 minute read

    Setup vitepress with bun and internationalization

    Setup Ruby Bundler to Run This Blog Locally

    1 minute read

    Setup Ruby with RVM

    GIT Create Branch

    less than 1 minute read

    How to create new branch with GIT.

    • Feed
    © 2025 Wannabe Exceptional. Powered by Jekyll & Minimal Mistakes.