Carlos Sudsilowsky
Carlos Sudsilowsky

Reputation: 23

OutSystems TimeZone Conversion

I need a hand here

The default OutSystems timezone is UTC There's an Action called ConvertFromTimeZone(1,2,3)

1- You write the Date and Time, no problem here.

2 & 3 - You have to write the SourceTimeZone and the DestinationTimeZone, these must be written in Text data type.

My question is: How exactly am I supposed to write it?

Thanks.

Upvotes: 2

Views: 3183

Answers (4)

LfVo
LfVo

Reputation: 19

you can use this action ConvertFromUTC(UTC_Datetime, "GMT Standard Time") it is from the Timezone extension.

Upvotes: 1

Joel
Joel

Reputation: 46

you can use GetSystemTimeZones to get the list of available timezones in the servers.

This post http://www.outsystems.com/forums/discussion/16005/convertfromtimezone/#Post67485 shows the Identifier that uniquely identifiers a timezone.

Upvotes: 1

Vera Tiago
Vera Tiago

Reputation: 51

You can find more information about timezone conversion here: http://www.outsystems.com/forge/component-discussions/500/Time+Zone

Upvotes: 1

pipo
pipo

Reputation: 408

Just one correction: the default timezone isn't UTC, but the timezone set in your application server.

The value you should use in the timezone code must be one of Microsoft Time Zone Index Values (column 'Name Of Time Zone')

Upvotes: 2

Related Questions