Skip to Content
author's profile photo
Former Member

date format changed in script

hi all,

i am modifying the cheque printing Script, and want to show the date in format DD.MM.YYYY in the payment advice.at the very first, the format display is correct. but dont no why, suddenly the format change to MM/DD/YYYY for that particular output.

the output for rest of the date which using the same field, still display correctly which is DD.MM.YYYY. what happen here?

the field i am using is

<b>&REGUH-ZALDT&</b>

can only one help me to set back. thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Posted on Sep 28, 2007 at 08:50 AM

    Display using date mask as shown below.

    /: SET DATE MASK = 'DD.MM.YYYY'

    &REGUH-ZALDT&

    Regards,

    SaiRam

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 10:09 AM

    U can use edit mask as said above or u can use the write statment.

    For example like this

    Write date to g_date using edit mask '____/__/__'

    U are moving date to another varible g_date.

    The above is syntax, u can change it ur required format.

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 11:52 AM

    Hi,

    If your problem is not solved by Set Date Mask try the following

    Go to your script In the Menu

    System - > User Profile -> Own Data you will find Default tab.

    In that tab set the Date format and save.

    Reward if useful...........

    Add comment
    10|10000 characters needed characters exceeded