Instead, I'd suggest a set of function, just like Clipper
uses for dates:
- hb_time() -> <tCurrentDateTime>
- hb_stot( "language independent string representation of date/time" )
-> <tValue>
- hb_ttos() -> <cValue> language independent string repr of date/time,
easy to parse with fixed positions ("YYYYMMDDHHMMSSFF")
- hb_ctot( "freeform date/time representation" ) -> <tValue>
- hb_ttoc( <tValue>[, <cFormat> ] ) -> <cValue> freeform date/time
representation (also controllable by Set( _SET_TIMEFORMAT ) )
Please function TTOS is necessary to fully support cdx indexes of
last version of dbf (implemented in vfp). Please don't add hb_ prefix
in this case, please don't add it.
Best regards,
Miguel Angel Marchuet
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour