Convert String format to DateTime

Hi guys, Does anyone know how to convert from string format to time format? Currently when i user parseDateTime, it does not show the correct time. It will show one hour late from the string input. You can refer to below image :
1 answers

The time difference isn't due to the used function, but due to the timezone settings. Which apparently gives an one hour offset in the resulting DateTime.

This could be solved by

  • Not localizing your DateTime attribute


  • Using the UTC functions. Though this might give an offset as well depending on timezone settings and attribute localization


See for more guiding