1 (edited by lie2815 2007-08-29 07:21)

Topic: <SOLVED> date formatting

I know how to format an UNIX timestamp for the output, but I don't know how to make a timestamp from a date in e.g. the format "m-d-y".
How can I do that?

FluxBB - v1.4.8

Re: <SOLVED> date formatting

PHP's date() function. Check the manual.

Re: <SOLVED> date formatting

I think you want strtotime().

Re: <SOLVED> date formatting

No he doesn't.

Re: <SOLVED> date formatting

I read "English date into timestamp". Blah...

Re: <SOLVED> date formatting

Got it already. I used mktime() and something else.
Thanks though.

FluxBB - v1.4.8