Author Topic: Time Zone  (Read 2921 times)

Offline daniel_san

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 1
Time Zone
« on: December 23, 2015, 04:13:01 PM »
Hi,

I´m working now with CfgTimeZone values of PSDK in WDE.  ;D

I need to convert some DateTime (C#) to a some of CfgTimeZone. Somebody knows how to do that with PSDK instead the class TimeZoneInfo of C#?

Why i want to do that with Plattform? because... In our enviroment tenant there are 40 TimeZones with Id, Description, Name etc... And Microsoft provides more than hundred TimeZoneInfo to use with TimeZoneInfo Converter, and there is no relationship about CfgTimeZones and TimeZoneInfo.

Any help?

Offline daniel_san

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 1
Re: Time Zone
« Reply #1 on: January 04, 2016, 04:58:10 PM »
Finally i did it trough Microsoft c# mechanism. Thank you Anyway.  :)

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Time Zone
« Reply #2 on: January 05, 2016, 08:41:31 AM »
Great news! It would be awesome, if you will share your solution for the community.

Offline daniel_san

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 1
Re: Time Zone
« Reply #3 on: January 18, 2016, 02:56:48 PM »
Of course...

Finally i created annex options on TimeZone objects to create relationship with the TimeZone objects of Microsoft.

Here are the Microsoft Time Zones:

https://msdn.microsoft.com/en-us/library/ms912391(v=winembedded.11).aspx

Inside Annex of the TimeZone object there is a variable with the name of TimeZone, for example "Hawaiian Standard Time".

Regards.