GSAK (Geocaching Swiss Army Knife)
 

Contents - Index


DateToSQL (function)

DateToSQL(dDate) : string

The function is provided to enable a native macro Date to be converted to a string date format used in SQL tables. Using the DbToSQL() fucntion will automatically do this conversion for all dates used, but there are times when you may be generating the SQL tables in other code. 

dDate - A GSAK date variable to convert. This may be any macro created variable, database variable, or system variable

Also see the complimentary function SQLToDate()

Summary
Copyright 2004-2008 CWE Computer Services  
Privacy Policy Contact