Author Topic: Datetime  (Read 4258 times)

0 Members and 1 Guest are viewing this topic.

Offline abman5

  • Newbie
  • *
  • Posts: 25
    • View Profile
Datetime
« on: February 18, 2009, 09:47:03 AM »
1. How datetime stored in database something like '235355654' instead of 2009-01-24 11:21:33   ??

2. How datetime retrive from database like 2009-01-24 11:21:33 from '235355654'   ??

Note: Here datetime is just assumed and not real or accurate.

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: Datetime
« Reply #1 on: February 18, 2009, 02:52:47 PM »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Datetime
« Reply #2 on: February 18, 2009, 04:20:42 PM »
Answer for second question:
http://www.php.net/date
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)