nesin.io
BlogTagsProjectsAbout
Blog
Tags
Projects
About
Published on
Tuesday, March 15, 2016

How To Generate Today Unix Timestamp in PHP

Authors
  • avatar
    Name
    Ashik Nesin
    Twitter
    @AshikNesin

Here's little snippet on how to do it

$today_start_ts = strtotime(date('Y-m-d', time()). '00:00:00'); echo $today_start_ts;

Tags

PHP

Previous Article

How To Move Site From WP Engine To Another Hosts

Next Article

An Absolute Beginner's Guide to Docker
← Back to the blog
mailgithublinkedintwitter
Ashik Nesin
•
© 2025
•
Nesin Technologies LLP