Re: Military <-> Standard times

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tedd schreef:
> 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).  :-)

which translation service came up with that?? it is funny though :-)

> 
>> 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.

and how many kids do you have :-P

>> 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).

since I left Windows I find it works against me less.

> 
> Besides, oddly enough I can understand
> 
>    return $t;
> 
> better than
> 
>    return strftime('%R', strtotime($t));

now that's plain weird. is it because '$t' vaguely resembles a rock[tm]?

> 
>> 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()

what would hannibal say?

PS - I'm sure this is too kafkaesque for some.
PPS - I have a little rock with the words "the ball is round" carved into it?
not your work by any chance?

:-D


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux