Hi
For retrieve the format for numeric and date value according to the Culture you can use the class RetailENInfo methods formatDatetimeData or formatNumericData.
e.g. :
TransDate dateLocal;
dateLocal = 22\08\2014;
info ( queryValue( RetailENInfo::formatDatetimeData( dateLocal, "EN-US") ) ) ;
Result : 8/22/2014
Enjoy!
For retrieve the format for numeric and date value according to the Culture you can use the class RetailENInfo methods formatDatetimeData or formatNumericData.
e.g. :
TransDate dateLocal;
dateLocal = 22\08\2014;
info ( queryValue( RetailENInfo::formatDatetimeData( dateLocal, "EN-US") ) ) ;
Result : 8/22/2014
Enjoy!
No comments:
Post a Comment