PHP Tutorial : Parse english time into unix timestamp
Feb 11, 2009 Basic PHP
hello,
Sometime I discovered a very “pretty” php function which parses about any english date/time into unix timestamp. I used it to calculate dates, like adding 1 more day to a date or 1 year who cares. Also, I used to merge it back into “normal” format like dd.mm.yyyy
<?php
//isn't it simple ?
$oneyear = strtotime(“+1 year”);
$oneday =…………….
Read PHP Tutorial : Parse english time into unix timestamp »
Tags: add date to time, Parse english time into unix timestamp, parse time, time to date, unix timestamp

