Posted: Sun Dec 08, 2002 2:01 pm
Restored from previous forum. Originally posted by fred.
Hello James,
The problem with date is you never get the format you want when you have to deal with. The mask method allow to quickly format the date in your own. And the reverse way works the same (ParseDate()). For example, if you have to retrieve dates in a log file which are in dd/mm/yy and another in mm/dd/yyyy format, with standard method it's a bit the hell. Here you just specify the mask and all is done automatically. But I agree it's not that easy.. I just think it worth the few time of learning
. Thanks for your snippet BTW !
Fred - AlphaSND
Hello James,
The problem with date is you never get the format you want when you have to deal with. The mask method allow to quickly format the date in your own. And the reverse way works the same (ParseDate()). For example, if you have to retrieve dates in a log file which are in dd/mm/yy and another in mm/dd/yyyy format, with standard method it's a bit the hell. Here you just specify the mask and all is done automatically. But I agree it's not that easy.. I just think it worth the few time of learning

Fred - AlphaSND