Decode Date()

Started on the old forum in February 2009 · view the original in the archive · old links redirect here

7 replies · 666 views · started 17 years ago · 1 min read

6 participants
shad0w Developer · 119 posts #1

In the database the date is a number ex: 1222333444 ... What represent this number??

whatmp3.name - search mp3 on mobile

amylee Principal · 1,092 posts #2

its a unix timestamp, noting wrong with it just the way *unix systems and such record time and what not

ionutxp Developer · 137 posts #3
$date[0] = ....extract it from dbase
echo "The date: ".date("d m y - h:i:s",$date[0])." 
";

or for time use

$time = gettimemsg($date[0]);

Hate romains that take codes from here and tell to all that they had made that External image (may be gone)

friend Developer · 112 posts #4

How to get latest time in forum instead of 31-12-69 - 18:00:00 in post

subzero Super moderator Fellow · 3,954 posts #5
$time =  date("g:i a");

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

shad0w Developer · 119 posts #6

... I know how to use date ... But how can I get thet number from (ex:) 18.02.2009 - 18:22 ?????

whatmp3.name - search mp3 on mobile

metulj Super moderator Principal · 1,726 posts #7

QUOTE (shad0w @ Feb 13 2009, 10:40 PM) <{POST_SNAPBACK}>

... I know how to use date ... But how can I get thet number from (ex:) 18.02.2009 - 18:22 ?????

http://php.net/time 😕

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close