Changing a date

  • Thread starter Thread starter Matthew Mandalek
  • Start date Start date
M

Matthew Mandalek

Is there any easy way to update a DATE field? I have the following values:

NextDate - next date to run
Cycle - the run cycle (Day, Week, Month, Year)

NextDate needs to be updated by Cycle. Do I need to write the code, or is
there any simply way to do this? Also, if I have to write code, how do I
know when it is leap year?

Thanks

Matt
 
Is the DateAdd function sufficient? It knows about leap years.
 
Look at the DateAdd function in the Help file. It will automatically take care
of leap years for you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top