From: "Jackson Miller" <[EMAIL PROTECTED]>

> They are codes for date formatting.
>
> Specifically:
> %s represents seconds with leading zeros.
> %d represents day of the month with leading zeros
>
> so
> date("%s %d",mktime());
> would equal something like
> 59 08

Actually you'd get:

%59 %08

because date() does not use percent signs in the formatting. However, and I
think this is what you're thinking about, DATE_FORMAT() in MySQL does use
the percent signs like you've demonstrated.

---John Holmes...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to