dbTalk Databases Forums  

Add months to date?

comp.databases.filemaker comp.databases.filemaker


Discuss Add months to date? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
S.P
 
Posts: n/a

Default Add months to date? - 01-05-2006 , 02:17 AM






I have number field (value 1-12) and date field. How I can add that number
field to date field such that number sum months?



Reply With Quote
  #2  
Old   
Grip
 
Posts: n/a

Default Re: Add months to date? - 01-05-2006 , 10:19 AM






I think you're looking at:
calcNewDate = Date((Month(DateField) + NumberField);
Day(DateField);Year(DateField)


G


Reply With Quote
  #3  
Old   
S.P
 
Posts: n/a

Default Re: Add months to date? - 01-09-2006 , 12:20 AM




"Grip" <grip (AT) cybermesa (DOT) com> kirjoitti viestissä
news:1136477951.879294.73940 (AT) g44g2000cwa (DOT) googlegroups.com...
Quote:
I think you're looking at:
calcNewDate = Date((Month(DateField) + NumberField);
Day(DateField);Year(DateField)


G
Thanks!! It works great. Grip: you are the king.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.