Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: rboccuzziHere is two ways to do it. One is to just cast the date as a string, and it will convert it for you:
strField = format("date is %s", dateField)
or even
strField = "the date is " + dateField
The second is to do it yourself:
strField = format("date is %d/%d/%d", dateField.year(), dateField.month(), dateField.day())
and of course, you could use %02d to pad with 0's, for example, if you are doing it the second way.<br><br>Post edited by: rboccuzzi, at: 2007/12/21 20:09