Date and time

Results 1 to 2 of 2

Thread: Date and time

  1. #1
    Join Date
    Dec 1969

    Default Date and time

    Hi All,<BR>I want to separate date and time from date field and display it. Does anyone know how to do it ?<BR>My date field is like "6/2/2001 20:20:20 PM" . And I want it like "6/2/2001" and "20:20:20 PM".<BR>Thanx in advance,<BR>Ani.

  2. #2
    Join Date
    Dec 1969

    Default RE: Date and time

    use CDate() and FormatDateTime() and their accompanying functions.<BR><BR>see the VBScript language reference, downloadable from<BR><BR>j

Posting Permissions

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