List Info

Thread: note 78118 added to function.date




note 78118 added to function.date
user name
2007-09-28 08:41:58
Code for generating time stamp for current time. May be
useful for someone working on date and time things.
/*Full right to modify and use it.*/

list($ch,$ci,$cs,$cm,$cd,$cy)=explode(",",date(&qu
ot;H,i,s,m,d,y"));	$now=mktime($ch,$ci,$cs,$cm,$cd,$cy)
;

echo $now;
----
Server IP: 203.199.69.133
Probable Submitter: 202.88.234.54
----
Manual Page -- http:/
/www.php.net/manual/en/function.date.php
Edit        -- https://master
.php.net/note/edit/78118
Del: integrated  -- h
ttps://master.php.net/note/delete/78118/integrated
Del: useless     -- http
s://master.php.net/note/delete/78118/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/78118/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/78118/spam
Del: non-english -- 
https://master.php.net/note/delete/78118/non-english
Del: in docs     -- http
s://master.php.net/note/delete/78118/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78118
Reject      -- https://mast
er.php.net/note/reject/78118
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )