Hello there
To calculate the time-offset to the UTC-time I found an useful function SELECT CONNECTION_PROPERTY ('TimeZoneAdjustment')
described in attached file timezone.txt.
According to the documentation it will not work in UltraLite-databases. My db Sybase ASA with SqlAnywhere 11.0 driver.
Guess it's classified as an UltraLite but not sure?
Anyway, this function works fine and returns the expected value both in a stand-alone- procedure-
call (invoked select connection....) and in an app. Nice, but it won't work in an Appeon-Deploy and Run. Returns null.
In Appeon Configuration-Settings my db is described as 'Sybase ASA ! Ultralite'.
Not sure if this is an Appeon- or Sybase-issue or both?
Since the db-driver is SqlAnywhere 11.0 the other option described in attached doc
datatype timestamp with timezone won't work either. Only with Sybase Adaptive Server 12.0.
Is there an other method, function to get the time-offset calculated in SqlAnywhere 11.0?
Best Regards
Outi Vihko