By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,172 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

How to add minutes to Date?

P: n/a
I have a date in this format: "8/27/2004 10:00:00 PM", and I have a Long
Integer that represents minutes, such as 15 or 10080. Is it possible to add
the minutes to the date and get a date value? How would I convert the
values before adding?

Thanks in advance.
Nov 13 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Mon, 27 Dec 2004 06:29:40 GMT, "deko"
<www.clearpointsystems.com@use_contact_form.com> wrote:
I have a date in this format: "8/27/2004 10:00:00 PM", and I have a Long
Integer that represents minutes, such as 15 or 10080. Is it possible to add
the minutes to the date and get a date value? How would I convert the
values before adding?

Thanks in advance.


See the DateAdd function.
Nov 13 '05 #2

P: n/a
> See the DateAdd function.

Thanks fo the tip - DateAdd is the ticket!
Nov 13 '05 #3

P: n/a
You could go out for ice cream after the movie. That would add minutes to
your date. ;-)

"deko" <www.clearpointsystems.com@use_contact_form.com> wrote in message
news:oZ****************@newssvr21.news.prodigy.com ...
I have a date in this format: "8/27/2004 10:00:00 PM", and I have a Long
Integer that represents minutes, such as 15 or 10080. Is it possible to
add
the minutes to the date and get a date value? How would I convert the
values before adding?

Thanks in advance.

Nov 13 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.