.NETGURU
Date (NOW()) add one day
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngvb' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Carlos Magalhaes
-- Moved from [aspngfreeforall] to [aspngvb] by Marcie Jones <Click here to reveal e-mail address> --

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2652.35">
<TITLE>Date (NOW()) add one day</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi all,</FONT>
</P>

<P><FONT SIZE=3D2>I am sure this is simple but how can I add a day to =
the NOW() date that comes out .</FONT>
</P>

<P><FONT SIZE=3D2>E.g.</FONT>
</P>

<P><FONT SIZE=3D2>Dim Mydatenow as string</FONT>
<BR><FONT SIZE=3D2>Mydate =3D Now.Date</FONT>
</P>

<P><FONT SIZE=3D2>Dim mydatetomorow as string</FONT>
<BR><FONT SIZE=3D2>Mydatetomorow =3D Mydate + Some how make add a =
day.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>The reason why is what I am trying to do is I have a =
help desk and I want to do a query showing the technitian all his Jobs =
for tomorrow. Any ideas on how to do that effectively?</FONT></P>
<BR>

<P><FONT SIZE=3D2>Thank you </FONT>
</P>

<P><FONT SIZE=3D2>Carlos</FONT>
</P>

<P><FONT SIZE=3D2>=A0</FONT>
</P>

</BODY>
</HTML>

-------------------------------------------------------------
This email and any files transmitted are
confidential and intended solely for the
use of the individual or entity to which
they are addressed, whose privacy
should be respected. Any views or
opinions are solely those of the author
and do not necessarily represent those
of the Trencor Group, or any of its
representatives, unless specifically
stated.

Email transmission cannot be guaranteed
to be secure, error free or without virus
contamination. The sender therefore
accepts no liability for any errors or
omissions in the contents of this message,
nor for any virus infection that might result
from opening this message. Trencor is not
responsible in the event of any third party
interception of this email.

If you have received this email in error please notify
Click here to reveal e-mail address For more information about
Trencor, visit www.trencor.net <http://www.trencor.net>

Reply to this message...
 
    
Matias Woloski
there are a lot of ways... this is one

System.DateTime.Now.AddDays(1)

Matias

[Original message clipped]

Reply to this message...
 
    
dave wanta (VIP)
Dim Today as DateTime = DateTime.Now.AddDays( 1 )

should do the trick!

cheers,
dave
----- Original Message -----
From: "Carlos Magalhaes" <Click here to reveal e-mail address>
To: "aspngvb" <Click here to reveal e-mail address>
Sent: Sunday, June 23, 2002 2:35 PM
Subject: [aspngvb] Date (NOW()) add one day

> -- Moved from [aspngfreeforall] to [aspngvb] by Marcie Jones
<Click here to reveal e-mail address> --
[Original message clipped]

Reply to this message...
 
 
System.DateTime




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification