Re: EASY way to add n days to a date? And a Christmas Card

2009-12-21 Thread Devin Asay
Fun stack, Jim! I feel all festive now. Regards, Devin On Dec 20, 2009, at 8:17 AM, James Hurley wrote: Many thanks to all. I knew that Run Rev would have an easy way to add days to the date, and so your solutions have subtracted days of effort for me. And, in the spirit of Jacque's Christm

Re: EASY way to add n days to a date?

2009-12-20 Thread zryip theSlug
Great ! I love to set a clock right ;) 2009/12/20 Medard : > zryip theSlug wrote: > >> You've terribly right. Sorry to have forgot non-english systems. >> Thankfully a quick solution exists. By using the useSystemDate >> property you'll be able to force RR to use the date settings of your >> syst

Re: EASY way to add n days to a date?

2009-12-20 Thread Medard
zryip theSlug wrote: > You've terribly right. Sorry to have forgot non-english systems. > Thankfully a quick solution exists. By using the useSystemDate > property you'll be able to force RR to use the date settings of your > system. 8) Note that the scope of this property is the current handler

Re: EASY way to add n days to a date? And a Christmas Card

2009-12-20 Thread James Hurley
Many thanks to all. I knew that Run Rev would have an easy way to add days to the date, and so your solutions have subtracted days of effort for me. And, in the spirit of Jacque's Christmas message, I have put up a Run Rev Christmas card to all you generous Revolutionaries. Merry Christma

Re: EASY way to add n days to a date?

2009-12-20 Thread zryip theSlug
Hi Médard, You've terribly right. Sorry to have forgot non-english systems. Thankfully a quick solution exists. By using the useSystemDate property you'll be able to force RR to use the date settings of your system. 8) Note that the scope of this property is the current handler only. I believe th

Re: EASY way to add n days to a date?

2009-12-20 Thread Medard
Medard wrote: > Anyway, after sticking to those caveats, the provided code gives exactly > what it is intended for, i.e. the date a month minus a day ahead -- not > the end of the month ;-)) Sorry, I didn't paid attention to "the first day of the month" ;-)) __

Re: EASY way to add n days to a date?

2009-12-20 Thread Medard
zryip theSlug wrote: > An easy trick to know the end date of one month without creating > complex script to test the number of days in the months, years > leap, etc.. clever -- but that doesn't work on "foreign" systems i.e. non english languages ;-) it is still funny to see Revolution to decla

Re: EASY way to add n days to a date?

2009-12-19 Thread zryip theSlug
A conversion function really handy! Not totally in the subject: An easy trick to know the end date of one month without creating complex script to test the number of days in the months, years leap, etc.. Take the first date of the month, then add one month and substract one day, like this : on mo

Re: EASY way to add n days to a date?

2009-12-19 Thread J. Landman Gay
James Hurley wrote: In FileMaker it is possible to add n (an integer) to a date to get a new date n days hence. Is there an EASY way to do this in Rev? (I don't mean setting the idemdel to "/" and fussing with the day/month/year digits.) convert tDate to dateitems add numDays to item 3 of tD

Re: EASY way to add n days to a date?

2009-12-19 Thread Marty Knapp
You can convert your date to dateItems. Then alter item 3 (day of the month) by adding to it, then convert back to whatever date format you want. Marty Knapp In FileMaker it is possible to add n (an integer) to a date to get a new date n days hence. Is there an EASY way to do this in Rev? (I

Re: EASY way to add n days to a date?

2009-12-19 Thread Jacques Hausser
Jim Afterthough: for details about options, look at "convert" and "date" in the dictionary ! Jacques Le 20 déc. 2009 à 00:35, Jacques Hausser a écrit : > > Le 20 déc. 2009 à 00:20, James Hurley a écrit : > >> In FileMaker it is possible to add n (an integer) to a date to get a new >> date

Re: EASY way to add n days to a date?

2009-12-19 Thread Jacques Hausser
Le 20 déc. 2009 à 00:20, James Hurley a écrit : > In FileMaker it is possible to add n (an integer) to a date to get a new date > n days hence. > > Is there an EASY way to do this in Rev? (I don't mean setting the idemdel to > "/" and fussing with the day/month/year digits.) > Something lik

EASY way to add n days to a date?

2009-12-19 Thread James Hurley
In FileMaker it is possible to add n (an integer) to a date to get a new date n days hence. Is there an EASY way to do this in Rev? (I don't mean setting the idemdel to "/" and fussing with the day/month/year digits.) Jim Hurley ___ use-revolution