• Skip to primary navigation
  • Skip to content
  • Skip to footer
Wannabe Exceptional
  • AI
  • About
  • Slides
    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

    Getting LDAP Epoch

    less than 1 minute read

    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, tutorial

    Updated: October 4, 2017

    Twitter Facebook LinkedIn
    Previous Next

    You May Also Enjoy

    Install Podman Docker-compatible in Arch Linux

    less than 1 minute read

    How to install Podman with Docker compatibility

    Install Golang in Arch Linux

    less than 1 minute read

    How to install Golang in Arch Linux

    Install Bun in Arch Linux

    less than 1 minute read

    How to install Bun in Arch Linux

    Install ArchLinux from Kubuntu

    less than 1 minute read

    How to install Arch Linux

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