GSAK (Geocaching Swiss Army Knife)
Contents - Index

DateFormat (function)

DateFormat(dDate ) : string

This function will convert a date variable to a string variable suitable for display (in the PAUSE command for example) The format will be the same as you see for your date columns in the grid and is dependent on your current computer date settings. For example:
  

# Display the last log date
$LastL ="Last log date is: " +  DateFormat($d_LastLog)
Pause Msg=$LastL
 

 
Related: StringToDate() DateToString() DateDiff() DateToSql()

Alpha List         Category List

Copyright 2004-2014 CWE Computer Services  
Privacy Policy Contact