Skip to Content
author's profile photo Former Member
Former Member

Format a date

Hi all

I need to format a date. I have a date like YYYYMMDD and I would like to format it like DD/MM/YYYY .... Has anybody a solution ?

J

Add comment
10|10000 characters needed characters exceeded

4 Answers

  • Posted on Apr 28, 2004 at 09:37 AM

    Look at ABAP key word WRITE and its Formatting options .

    Regards

    Raja

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 29, 2004 at 02:17 PM

    great <% page->write( mydate ) %> Nice 😉

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 03, 2004 at 02:48 PM

    Dont worry 😉 It's ok. But your method isn't client systems dependent but SAP dependent. So I use a javascript to convert a SAP DATE into a Web format date.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 09, 2004 at 04:56 PM

    Hi Jerome-

    Could you please forward me your JavaScript function for converting to and from SAP date?

    I would like to use it at one of my projects where I currently need it.

    Thanks,

    - Vik.

    Add comment
    10|10000 characters needed characters exceeded