View Single Post
  #110 (permalink)  
Old 09-11-2010, 11:18 AM
agraham's Avatar
agraham agraham is online now
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

For standard and custom numeric formatting with Format()

Numeric Format Strings

Note that "x" does not work because numbers are Doubles in Basic4ppc and "x" takes integers. Also note that Basic4ppc converts the format string to lower case.


For standard and custom numeric date and time formatting with DateFormat() and TimeFormat()

Date and Time Format Strings

Note that DateFormat replaces "m" with "M". TimeFormat replaces "M" with "m", "S" with "s" and "T" with "t". Date and Time are identical functions but just use the different format strings so they are actually both DateTime format functions but using the slightly differently modified format strings.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote