Getting started with timestamps.....
Posted 28 July 2006 - 05:18 AM
Posted 28 July 2006 - 02:36 PM
to capture current timestamp
$variable = time();
to capture the current date
or date from a time stape
$variable = date("formathere");
check php.net for formats
if you want to change a time stamp into date format
$variable = date("formathere", $variable); // the variable would contain the time stamp.
Business Website: http://www.infotechnologist.biz
Personal Website: http://www.joyelpuryear.com
Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users