The first bit can be done with a ToText Function....
ToText({DateTimeField},"yyyyMMddHHmm"
To get the timezone offset you would need the PrintTimeZone or DataTimeZone Functions. I've got them in Crystal 2011, and I think they were there in 2008, but I don't think any earlier.
From the Help Page...
Time zones are represented by TimeZoneString, which is a string that follows these formats:
"std,offset,dst,[offset];start[/time],end[/time]"
Example: "PST,480,PDT,-60;4.1.0/02:00,10.1.0/02:00"
So you might need to test if you are in DayLight Savings Time or Not.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.