Re: date/time in groovy

2010-09-08 Thread Scott Gray
Hi Pierre, Sounds like getDayStart() is being passed a null argument. Either parameters.psd is returning null or toTimestamp() is. Regards Scott HotWax Media http://www.hotwaxmedia.com On 6/09/2010, at 8:55 PM, Pierre Smits wrote: > Hi all, > > In a .groovy file I want to capture from a que

date/time in groovy

2010-09-06 Thread Pierre Smits
Hi all, In a .groovy file I want to capture from a query-string a date-time string for the start of a period ( &psd=2010-09-01 09:14:00.000) and a date-time string for the end of a period (&ped=2010-09-06 10:46:13.000). In the .groovy file I have following code: periodStartDate = parameters.psd;