Skip to Content
avatar image
Former Member

regarding date and time format in smartforms

hi,

i need to print one date and time format in this form

04 april 2008 17:00:02

but i am getting one variable in this format 04 01 2008 17:00:02

i need top print in this format 04 april 2008 17:00:02..

plz tell me the answer.

thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 04, 2008 at 10:34 AM

    Hi

    Pass the variable through this FM:CONVERSION_EXIT_IDATE_OUTPUT..in the program lines of the smartform...and display the value.

    Regards,

    Vishwa.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      CONVERSION_EXIT_IDATE_OUTPUT' this fm is used to change the format of date only......

      but this is a field which is having date and time format

      04 april 2008 17:00:02 like this......

      but i want that field 04 01 2008 17:00:02 in this format...

      plz answer

      thanks

  • avatar image
    Former Member
    Nov 04, 2008 at 10:35 AM

    use offset concept and get the date month year in sep variable

    use f.m MONTH_NAMES_GET and get the monthname

    concatenate them to another variable.

    Edited by: shan palani on Nov 4, 2008 4:06 PM

    Add comment
    10|10000 characters needed characters exceeded