Difference between revisions of "Dates"
From HashVB
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{WIP}} | {{WIP}} | ||
[[Category:Good coding practices]] | [[Category:Good coding practices]] | ||
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