Bill
Bill

Reputation: 1247

formating datetime field in progress-4gl

I want to format a datetime field but i can't figure out the syntactic. I want it to display it to look like this: "mm:dd:yy hh:mm am".

Upvotes: 0

Views: 11127

Answers (1)

Tom Bascom
Tom Bascom

Reputation: 14020

Like this:

display replace( string( now, "99/99/99 hh:mm:ss am" ), "/", ":" ) format "x(20)"

Upvotes: 5

Related Questions