date format question

Discussion in 'JavaScript' started by srdva59, Aug 12, 2010.

  1. #1
    hi,
    i have a function that return a date using this: d.ymd('-');

    this return 2010-08-27 but i need other format like this:
    27-08-2010
    i have try d.dmy but i receive this error: d.dmy is not a function
    what is the correct format for receive the date is other format?
    thanks a lot for your help
    :)
     
    srdva59, Aug 12, 2010 IP
  2. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Can you post the code that you have?
     
    camjohnson95, Aug 12, 2010 IP