Forum Discussion
Vigneshwar
2 years agoNew Contributor
Display Date/time and timezone in the Report footer
If (uiItem.uiItemType = XFReportUIItemType.PageFooterDate) Then Dim combinedText As String
' Get the current date and time Dim currentDateTime currentDateTime = Now combinedText = "Date & Time:...
RobbSalzmann
2 years agoValued Contributor II
The following will give you the three letter Time Zone designation:
Dim regex As New Regex("\b\w")
Dim tz As String = String.Concat(regex.Matches(TimeZoneInfo.Local.StandardName).Cast(Of Match)().Select(Function(m) m.Value))
Related Content
- 2 years ago
- 1 month ago