Home > Default > How to add one day to a Date?

How to add one day to a Date?

October 11Hits:1
Advertisement
Hi,
What is the simplest way to daa one day to a Date object?
Thanks.
Pengyou

Answers

You use a database query just to add one day
to a Date object? I wouldn't call that the "simplest"
way at all.I was going to suggest firing off an email to the naval observatory and having them carry out the calculation, emailing the result back (maybe using JMS, not sure - web service possibly?) but the OP's way is simpler.

Read other 8 answers

Tags:

Related Articles

  • How do you add a custom label to dates in contacts.....October 11

    How do you add a custom label to dates in contacts- I have multiple birthdays in contact group and want to change label through customise to add additional birthday- unless another way to add second birthday to contacts and identify each one?????? or

  • How can i add one month to a date variable ?October 11

    Unlike the week which always 7 days, month may change from 28 to 31, so how can i add one month to a date variable ? Thanks in advance.Adding 365 won't always work because of leap years. You could use the following SQL statement: SELECT      TO_DATE(

  • What is the best way to add a day to a Date object?October 11

    I have come across numerous examples on adding a day to the CURRENT date, using the Calendar object. However, what I need to do is to add a day to a Date variable. Can someone tell me how to do that? I tried to set the value of my Date variable into

  • How to add one day to a Date?October 11

    Hi, What is the simplest way to daa one day to a Date object? Thanks. PengyouYou use a database query just to add one day to a Date object? I wouldn't call that the "simplest" way at all.I was going to suggest firing off an email to the naval ob

  • How to add new fields to a data extractOctober 11

    The following data extract program generates an output file which is displayed using a publisher template as a check format report. Oracle Payments Funds Disbursement Payment Instruction Extract 1.0 How would I add new fields to the generated file? I

  • How to add one second to a date time stampOctober 11

    What is the proper syntax to add one second to a date/timestamp?Just think about it. 24 hours in a day, 60 mins per hour and 60 second per minute total of 86400 seconds per day. So, you add 1/86400 to the date/timestamp column e.g. select my_date + (

  • How do I add 364 days to a date?October 11

    HI, I'm trying to add 364 days to a date on a form I've created. I've tried this method using form calc on the EndDate field but no success, just errors. EndDate=Date(InvoiceDate.getFullYear(),InvoiceDate.getMonth(),InvoiceDate.getDate()+364) Can any

  • How to add 2 days to a date field?October 11

    How to add 2 days to a date field if a Saturday was selected on a different date field? ThanksI am attempting to add a date field and then have a another field add an amount to a box if the date is less than 30 days. Later I want to update the form t

  • Add 60 days to a dateOctober 11

    Hi! I have a date object called "CLOSED_DATE" that I get from av database view. I would like to add 60 days to this date. If CLOSED_DATE = "20080501", the new date should be "20080629", that should be put into a variable (NEW

  • Add 21 days to a date field in JSPOctober 11

    Hi. How can I add 21 days to a String field containing a date value in JSP. I managed to get the string field without problem with the following codes : java.text.SimpleDateFormat formatdate = new java.text.SimpleDateFormat("dd-MMM-yy"); java.ut

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.436 s.