Difference between revisions of "Dates"

From HashVB
Jump to: navigation, search
(Temporary IRC log)
 
 
(3 intermediate revisions by 3 users not shown)
(No difference)

Latest revision as of 12:21, 1 July 2009

 This article is currently work in progress. Please come back later.
<@QueenDee> NEVER EVER store dates as strings if you need to do work on them
            later
<@QueenDee> it WILL break in other locales
< ThomasJ> Well..  the way that my company displays the window times is 'D15:00
           - P12:00'
<@QueenDee> then format it once for displayt purposes
< ThomasJ> D for deliver, P for pick up..  so I need to strip those 2 chars
           from them when getting the time from the grid display
<@QueenDee> ALWAYS store them internally as dates and dont use functions that
            expect/output a string format