Date & Time problems

Results 1 to 2 of 2

Thread: Date & Time problems

  1. #1
    Alex T Guest

    Default Date & Time problems

    Okay, I have this:<BR><BR>vtime=Time<BR>vdate=Date<BR><BR>Which eventually adds the date and time to 2 sperate fields in the database. However, it is doing this on cest coast time not on my local time (central time). Can anyone help me with this? The server is located on the west coast, but I want to know when someone accessed my page using central time. Thanks.

  2. #2
    Join Date
    Dec 1969

    Default RE: Date & Time problems

    &#060;%<BR>pacificTime = Now &#039 combination of Date and Time!!!<BR>centralTime = DateAdd( "h", -2, pacificTime )<BR><BR>theDate = DateValue( centralTime )<BR>theTime = TimeValue( centralTime )<BR>%&#062;<BR><BR>

Posting Permissions

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