9100e4ee133f7dd0e2efcace5a34c94da152e6f9
API/CodeSamples/ReportTimeStampTimeZoneOffset.md
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | ##About |
| 6 | 6 | Sets an hour shift applied the timestamp when an Izenda report is exported. This allows for all times to be shifted by a specific amount, which can be varied depending on the user or set globally. To change the time zone offset used in the body of the report, use [[Time Zone Offset|http://wiki.izenda.us/edit/API/CodeSamples/TimeZoneOffset]] |
| 7 | 7 | |
| 8 | -**Default Value:** By default no action is taken. If a ReportTimeStampTimeZoneOffset is set, then that value will be applied to the timestamp placed on a report when it is exported. |
|
| 8 | +**Default Value:** By default no action is taken. If a ReportTimeStampTimeZoneOffset is set, then that value will be applied to the timestamp placed on a report when it is exported. This value is relative to UTC, so a timestamp for the United States Eastern timezone is -5. This value does not take daylight savings time or any other regional time variation into account. |
|
| 9 | 9 | |
| 10 | 10 | ##Global.asax (C#) |
| 11 | 11 | |
| ... | ... | @@ -26,7 +26,6 @@ public class CustomAdHocConfig : FileSystemAdHocConfig { |
| 26 | 26 | AdHocSettings.ReportCssUrl = "Resources/css/Report.css"; |
| 27 | 27 | AdHocSettings.ShowBetweenDateCalendar = true; |
| 28 | 28 | AdHocSettings.AdHocConfig = new CustomAdHocConfig(); |
| 29 | - AdHocSettings.PrintMode = PrintMode.Html2PdfAndHtml; |
|
| 30 | 29 | AdHocSettings.ReportTimeStampTimeZoneOffset = -3 /The relevant Setting |
| 31 | 30 | |
| 32 | 31 |