Home
PHP
Chart
Class
Components
Cookie Session
Data Structure
Data Type
Date
Design Patterns
Development
DNS
Email
File Directory
Form
Functions
Graphics Image
HTML
Language Basics
Login Authentication
Math
MySQL Database
Network
Operator
PDF
Reflection
Statement
String
Utility Function
Web Services SOAP WSDL
XML
Using strtotime() with a starting epoch timestamp : strtotime « String « PHP
PHP
String
strtotime
Using strtotime() with a starting epoch timestamp
<? $november = mktime(0,0,0,11,1,2008); ?>
Related examples in the same category
1.
Calculating a date interval with strtotime()
2.
Checking a date range
3.
int strtotime ( string time [, int now] ) converts strings to a timestamp
4.
Using strtotime()
5.
Find the First monday on or after November 1, 2008
6.
Find weekday
7.
Finding the Date for a Weekday
8.
Getting the Day and Week of the Year
9.
If PHP is unable to convert your string into a timestamp, it will return -1.
10.
Obtaining the Difference Between Two Dates
11.
Subtracts a year from a given timestamp