two digit month..

Results 1 to 2 of 2

Thread: two digit month..

  1. #1
    hyosil Guest

    Default two digit month..

    when I do &#060;%=Month(date())%&#062;, I got 7, not 07.<BR>how can I get the 07 like two digit?<BR>Help me...!!!<BR>I want to get two digit month and convert it to char..<BR><BR>Hope to hear from you soon.<BR>Please mail me at<BR>

  2. #2
    Skippie Guest

    Default RE: two digit month..

    &#060;%<BR><BR>m = Month(date()) <BR>If m &#060; 10 Then<BR> m = "0" & m<BR>End If<BR><BR>Response.Write(m)<BR><BR>%&#062;<BR> <BR><BR><BR><BR><BR>-- Skippie

Posting Permissions

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