Using "Now" to return dd/mm/yy only

Results 1 to 2 of 2

Thread: Using "Now" to return dd/mm/yy only

  1. #1
    Kevin Guest

    Default Using "Now" to return dd/mm/yy only

    How can I format the "Now" function to return the date in a dd/mm/yy format and leave out the time?<BR><BR>Thanks,<BR><BR>Kevin.

  2. #2
    Rob Guest

    Default RE: Using

    You could do it 2 way&#039s (there are more though)<BR><BR>&#060;%= Date %&#062;<BR><BR>or<BR><BR>&#060;%<BR> Dim MyDate<BR> MyDate = FormatDateTime(Now)<BR> Response.Write "Today is - " & MyDate & ""<BR>%&#062;<BR><BR>The First Will Produce: 11/8/99<BR>The Second Will Show: 08/11/99 12:19:44<BR><BR>Hope that helps

Posting Permissions

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