Date format

make

Member
Hi there,

i have a line in my code like this : message string(xaphist.Datum) view-as alert-box information.

The message shows : 24/10/2002

I want to have this format : 2002-10-24
(American format ? i believe)

How can i format this in the line.

Thanxs !!!

Make
 
Make,

Try this:

Code:
SESSION:DATE-FORMAT = 'ymd'. /* Specify date format as year,month,day */
MESSAGE STRING(xaphist.Datum,'9999-99-99') 
  VIEW-AS ALERT-BOX INFORMATION.
 
Back
Top