4images Forum & Community
The forum for all 4images gallery administrators
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
[2023-01-23] 4images 1.10 released
Home
Help
Search
Login
Register
4images Forum & Community
»
4images Modifications / Modifikationen
»
Mods & Plugins (Requests & Discussions)
(Moderator:
mawenzi
) »
Datetime
« previous
next »
Print
Pages: [
1
]
Author
Topic: Datetime (Read 4258 times)
0 Members and 1 Guest are viewing this topic.
abman5
Newbie
Posts: 25
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.
Logged
Lucifix
Hero Member
Posts: 710
Re: Datetime
«
Reply #1 on:
February 18, 2009, 02:52:47 PM »
This is called Unix timestamp
http://www.php.net/time
http://en.wikipedia.org/wiki/Unix_time
Logged
http://www.slo-foto.net/
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...
Re: Datetime
«
Reply #2 on:
February 18, 2009, 04:20:42 PM »
Answer for second question:
http://www.php.net/date
Logged
Your first three "must do" before you ask a question:
Forum rules
FAQ
Error messages
Bug Fixes & Patches
Search
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)
Print
Pages: [
1
]
« previous
next »
4images Forum & Community
»
4images Modifications / Modifikationen
»
Mods & Plugins (Requests & Discussions)
(Moderator:
mawenzi
) »
Datetime