At 9:19 PM +0100 1/21/09, Jochem Maas wrote:
tedd schreef:
Hi gang:
would you stop calling me that, I'll bet it means something rude in
korean. :-P
Hey, you called me "schreef" and that means "an end of a stroke"
(Arrggg, that has all sorts of meanings). :-)
wouldn't the slickest way be to carry/store unixtimestamps and
then output whatever version you need when you need it,
the conversion back and forth *seems* pointless.
I'm into pointless stuff -- I'm symmetrically challenged. I don't
like doing anything that can't be undone.
what's with the superfluous variable?
why not just:
return strftime('%R', strtotime($t));
I like superfluous code -- it makes me feel better and I like to see
the computer work (while they still work for us).
Besides, oddly enough I can understand
return $t;
better than
return strftime('%R', strtotime($t));
also, small point, if you came across the function
militaryToStandard() somewhere in the code, how would
one know if it were all about about time formats
or elephants?
Good point, I should have used
militaryToStandardElephants()
Thanks,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php