Results 1 to 4 of 4

Thread: date (MM/DD/YY & DD/MM/YY)

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    2

    Thumbs down


    hai everyone....

    i have problem with the date.i use active x contol calendar to ask user insert the date.it follow the client computer that is MM/DD/YY but i also using some date function.it's formula is reverse from active x control-DD/MM/YY.it give big problem to me when i want to add a number to the date because it's not in the same formula.

    so i want to know if there's any function that can convert date from MM/DD/YY to DD/MM/YY.i really need your help.i'm stuck of this......
    thanks

  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696

    Talking

    If you are using asp you can use the formatdatetime function or if it is in VB you can use the format function

    eg. myconverteddate = format(mydate,"dd/mm/yyyy")

    Hope this helps

    ian
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

  3. #3
    Lively Member
    Join Date
    Mar 2000
    Posts
    87
    If you want to add to dates as well probably best to use the dateadd function

    dateadd("m",1,now)

  4. #4

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    2

    Cool thank you...

    thanks for your help.it solve my problem..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width