Page 1 of 1

How to get today unix time ?

Posted: Sat Aug 26, 2006 7:25 am
by Supper Baby
Hello again,

When we use time() we get unix time at this moment

what if we need to know the unix time for this day start ?

today is 26 aug. I need unix time for that day ( at second Zero ) the day porn 00.00 I don't want to get unix time for the current hour

:?:

Posted: Sat Aug 26, 2006 7:34 am
by Weirdan

Code: Select all

echo strtotime('today');

Posted: Sat Aug 26, 2006 7:42 am
by Supper Baby
Weirdan wrote:

Code: Select all

echo strtotime('today');


8O I can't belief it 8O

I was using trouble Function to get that.

:D Thank you very very very much

Re: How to get today unix time ?

Posted: Sat Aug 26, 2006 7:49 am
by Chris Corbyn
Supper Baby wrote: the day porn 00.00
8O

Posted: Sat Aug 26, 2006 8:11 am
by Supper Baby
:oops: I mean born

Posted: Sat Aug 26, 2006 8:31 am
by Chris Corbyn
Supper Baby wrote::oops: I mean born
:lol: I won't ask what was on your mind when you typed the post :P

Posted: Sat Aug 26, 2006 10:24 am
by Supper Baby
LOL :lol:

8) seems I'm not the only one who thinking too much :wink: