Re: Standard library - date and time
- Posted by Julio C. Galaret Viera <galaret at adine?.co?.uy> Apr 22, 2008
- 1177 views
Jeremy Cowgar wrote: > > Julio C. Galaret Viera wrote: > > > > I think the name "nowDateTime()" is redundant. I suggest "now()" as in other > > languages. > > > > Except we are dealing with three types. does now() mean now() as in time? > {7,1,54} > or now() as in date? {2008, 4, 22} or now() as in date and time? {{2008,4,22}, > {7,1,54}} > > -- > Jeremy Cowgar > <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a> now() is now! so it should returns year, month, day, hour, minute, second like, for example, in MySQL (2008-04-22 14:33:20) Since it won't replace date(), it will not break any code except. Anyway, the earlier code is broken the better. JG