all groups > inetserver asp general > july 2004 >
You're in the

inetserver asp general

group:

time in millisecond


Re: time in millisecond Aaron [SQL Server MVP]
7/29/2004 9:06:45 AM
inetserver asp general: http://www.aspfaq.com/2093

--
http://www.aspfaq.com/
(Reverse address to reply.)




[quoted text, click to view]

Re: time in millisecond Andrew Urquhart
7/29/2004 12:51:43 PM
[quoted text, click to view]

You don't, you get it in VBScript, JScript or PerlScript. In JScript it
would be:

(new Date()).valueOf(); // Number of milliseconds since 1 Jan 1970
--
Andrew Urquhart
- FAQ: www.aspfaq.com
- Archive: www.tinyurl.com/38kzx (Google Groups)
- Contact me: http://andrewu.co.uk/contact/
- Apologies for the wrong timestamp on my post - blame my ISP

Re: time in millisecond Andrew Urquhart
7/29/2004 1:04:19 PM
[quoted text, click to view]

ASP is not a language. Here's the value you want in JScript running
/under/ ASP:

<%@language="JScript"%>
<%=(new Date()).valueOf()%>
--
Andrew Urquhart
- FAQ: www.aspfaq.com
- Archive: www.tinyurl.com/38kzx (Google Groups)
- Contact me: http://andrewu.co.uk/contact/

Re: time in millisecond Andrew Urquhart
7/29/2004 1:34:42 PM
[quoted text, click to view]

<%
var intMilliSecs = (new Date()).valueOf();
%>

You're probably wanting the VBScript equivalent since you're new to ASP,
perhaps someone can post it.
--
Andrew Urquhart
- Contact me: http://andrewu.co.uk/contact/
- 'Staccato signals of constant information
A loose affiliation of millionaires and billionaires' - Paul Simon

time in millisecond szymex
7/29/2004 1:47:26 PM
How can I get current time in milliseconds in ASP?

Re: time in millisecond Andrew Urquhart
7/29/2004 1:47:30 PM
[quoted text, click to view]

I use: http://pajhome.org.uk/crypt/md5/
--
Andrew Urquhart
- Contact me: http://andrewu.co.uk/contact/
- 'Staccato signals of constant information
A loose affiliation of millionaires and billionaires' - Paul Simon

Re: time in millisecond szymex
7/29/2004 1:59:22 PM
So it is no possibility to do it in ASP?



[quoted text, click to view]

Re: time in millisecond szymex
7/29/2004 2:25:27 PM

[quoted text, click to view]

Thanks, I'm sorry I'm new in ASP and have one more question I want to have
that data (time in millisecond) in variable, how can I do that using code
you gave me?

Re: time in millisecond szymex
7/29/2004 2:41:35 PM
[quoted text, click to view]

OK, thanks. And last question, is there a MD5 function in VB/J Script ?

AddThis Social Bookmark Button