Wrox Home  
Search P2P Archive for: Go

  Return to Index  

proasp_howto thread: RE: [proasp_howto] DateAdd -- adding fractional hours


Message #1 by "S. Sridhar" <sridhar@o...> on Tue, 12 Feb 2002 22:47:48 -0500
Bill:

Thank you, that works!

--sridhar

----- Original Message -----
From: "B. LaMontagne" <bill@t...>
To: "Pro ASP HowTo" <proasp_howto@p...>
Sent: Tuesday, February 12, 2002 10:42 PM
Subject: [proasp_howto] RE: [proasp_howto] DateAdd -- adding fractional
hours


DateAdd("n", 570, Now) should work...

If you need to add fractions of an hour, you're probably going to need to
convert to minutes...

-Bill

-- Original Message --

~Hi:
~
~VBScript provides: DateAdd("h", 9.5, Now)
~
~this adds 9.5 hours to Now. But the problem is that VBS truncates the 0.5
~and adds only 9 hours to Now. Is there a workaround or a freeware function
~to overcome this limitation?
~
~--sridhar
~
~
$subst('Email.Unsub').
~




$subst('Email.Unsub').



  Return to Index