Support 805.461.7300
Sales
Our Technology. Your Success.

Add a date to a field

Two ways to add a date to a character field:

Replace all date with CMONTH(DATE())+" "+ALLT(STR(DAY(DATE())))+", "+ALLT(STR(YEAR(DATE())))

This will give you December 25, 2030

Replace all date with DTOC(date())

This will give you 12/25/2030

« Back to Commands

Thanks for your reply [to my e- mail ]! Once again I'm impressed with how quickly you all respond to your customers.
T.B., Oklahoma City, OK