Top "Strtotime" questions

PHP function for parsing about any English textual datetime description into a Unix timestamp

Finding days between 2 unix timestamps in php

Hay, i have a database holding events. There are 2 fields 'start' and 'end', these contain timestamps. When an admin enters …

php unix timestamp strtotime mktime
PHP - Strtotime - Add hours

I have this variable: $timestamp = strftime("%Y-%m-%d %h:%M:%S %a", time ()); I simply want to add three …

php strtotime
PHP, use strtotime to subtract minutes from a date-time variable?

I need to subtract 45 minutes from the date-time variable in PHP. The code: $thestime = '2012-07-27 20:40'; $datetime_from = …

php strtotime
PHP strtotime: Get previous month

Possible Duplicate: How to get previous month and year relative to today, using strtotime and date? Today is December, 31st …

php date strtotime
strtotime('today') returning incorrect time?

I am trying to create a select list starting from the current date of the user. I want it so …

php unix time strtotime timezone-offset
Working days (Mon-Fri) in PHP

Is there a way to use strtotime to add working days (Monday to Friday) to a date? Or some other …

php strtotime
PHP Strtotime -1month -2month

This was working fine yesterday with no changes to the code. echo date("M", strtotime("-3 month", time()) ); echo date("…

php strtotime
What is a Unix timestamp and why use it?

What is a Unix timestamp? In PHP, when working with dates, the function strtotime() outputs some integer value -- what …

php timestamp strtotime
PHP check if timestamp is greater than 24 hours from now

I have software that needs to determine if the cutoff datetime is greater than 24 hours from now. Here is the …

php datetime strtotime
php strtotime reverse

Is there some function timetostr in php that will output today/tomorrow/next sunday/etc. from a given timestamp? So …

php strtotime