cancel
Showing results for 
Search instead for 
Did you mean: 

regarding script date probleam

Former Member
0 Kudos

hi guru,

i am picking date field by writting in my form

&reguh-zaldt&.

here date coming from database ex.12-03-2007.

but my client wants this format 12-march-2007.

how to do this to convert 03 to march...

please help...

thanks

subhasis

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Subhasis,

Try the command SET DATE MASK.

In your case, try the following code in your script.


/: SET DATE MASK = 'DD-MMMM-YYYY'
   &reguh-zaldt&
/: SET DATE MASK = ' '

This gives you the output in the following way.

12-march-2007.

for further info on date formatting, try the following link.

Link: [http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm]

Answers (0)