You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Dim _portalSettings As Portals.PortalSettings = Portals.PortalController.GetCurrentPortalSettings
961
-
962
-
''Post Time is entered into the database using getdate so if your SQL Server
963
-
'Dim Posttime As DateTime = value
964
-
''We need to know the servers timezone, we will use this information to convert the post time to a GMT time & date
965
-
'Dim tz As System.TimeZone = System.TimeZone.CurrentTimeZone
966
-
'Dim LocalTimeZone As Double = tz.GetUtcOffset(DateTime.Parse("00:00")).TotalMinutes
967
-
968
-
'we also want to take into account Daylight savings time, since this will affect the calculation as well. we will calculate daylight savings time based on when the post was made and
969
-
'not based on what the current date and time is. i.e was the post made when daylight savings time was in affect or not.
0 commit comments