Zum Hauptinhalt gehen

Suche

Suche

Yyyy-M-D To Yyyy-Mm-Dd Conversion In Vb Script

Kommentare

2 Kommentare

  • Avatar
    Legacy Poster

    I just found a way to make this work! 
    Replacing the last line of my previous code with the following helped me to get the desired format. 
     

     
    Value = Year(Value) & "-" & Right("0" & Month(Value), 2) & "-" & Right("0" & Day(Value), 2)


    Hope this helps. Any other suggestions are welcome. 

    Thanks. 
    0
  • Avatar
    mis mis

    Hi Legacy Poster,

    Thanks for code. It is works for my case.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.