I know this isn't answering the question that was asked, but bear in mind that formatting dates as numeric dd/mm/yyyy or mm/dd/yyyy leaves you wide open to the possibility of people entering dates the wrong way round, especially if your program is going to be used around the world.
Depending on how important the dates are in your program, I personally would use a foolproof input method such as select lists or a clickable calendar, to avoid that sort of problem.
Sorry if that completely misses the point, or is something you're already aware of, but I thought it was worth saying. (even if it doesn't help you, it might help someone else reading this thread)
|