Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 3rd, 2004, 10:57 AM
Authorized User
 
Join Date: Jul 2003
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Generate Time in Milliseconds with asp

I am trying to compare two date and time value which requires comparing even the milliseconds. So far I could not find an asp function that generates data and time value in milliseconds. Does anyone have an idea of such a function? I need to persist this value in SQL Server, and I understand that SQL Server can handle date and time value in milliseconds.

Appreciate any help.

Nirav

 
Old May 5th, 2004, 03:32 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

I dont think you would get through with that in ASP. Best bet would be using Datadiff funtion of SQL server. The same in ASP doesn't support MILLISECONDS alone.;)

Better pass those date/time values to SQL and get a datediff from there. I could think of that as the only solution to get you there.

Cheers!

-Vijay G





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get Milliseconds from DateDiff ? ashu_from_india Pro VB 6 2 July 5th, 2007 03:27 AM
Milliseconds MathLearner Beginning VB 6 0 May 15th, 2007 07:44 AM
How to generate a crystal report at run time fozia_izhar .NET Framework 1.x 0 February 20th, 2007 02:34 AM
Converting datetime to milliseconds since.. ravishakya SQL Server 2000 1 September 11th, 2006 07:47 AM
Using xs:time to generate time in desired format krayan001 XSLT 0 June 27th, 2005 04:28 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.