www.webdeveloper.com
Results 1 to 2 of 2

Thread: time function

  1. #1
    Join Date
    Dec 2002
    Posts
    16

    time function

    Hi,

    I used time() function to get the current time in asp and store it in database
    But the result that goes into database contains date too
    whereas I only want the time
    How do I remove the date?

  2. #2
    Join Date
    Dec 2002
    Location
    Some where on this planet
    Posts
    2
    Try this:

    Code:
    Time = formatdatetime(now(),vblongtime)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles