Hi Alex, I got a crash with your script.
This shows the correct date from the system: <?rev set the errormode to inline put "2010,1,0,0,0,0,0" into t --set the useSystemDate to true convert t to long date put t ?> I think there is no 'system date' intentionally. According to the docs: * * * * If the *useSystemDate* property is set to true or if you specify the system date, the times returned by the *date* function are formatted according to the user's system preferences. There is no such object on a web server. ** this is why useSystemDate property will crash as well. On 12 June 2010 17:01, Alex Tweedly <[email protected]> wrote: > > The following script fragment works OK on Mac (and I believe on Win, but > cannot verify that right now) > > put "2010,1,0,0,0,0,0" into t > convert t to system date > put t > > but if I put this into an On-Rev script (i.e. an .irev scrip) it fails > (silently - even the on-rev client debugger doesn't see any error, it just > stops silently). (Works OK if I use "convert t to english date"). > > I will, naturally, send an error report to on-rev, but I was curious > whether this is an on-rev problem or a Linux problem (or limitation), so if > any Linux users can try it out and let me know I'd be grateful. > > Thanks, > -- Alex. > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- ------------------------- Stephen Barncard San Francisco _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
