Hi Friends, In this post, we will see how to convert the date value to date time value in operator time zone instead of GMT time zone.
Assume you have 2 fields, TransactionDate and TransactionDateTime. Now we have to set the TransactionDate in TransactionDateTime field.
TransactionDate has value like "20240530" , Now we have to keep this value in TransactionDateTime property in date time property. Lets see how to do that.
We can use the below expression to convert.
.TransactionDateTime = @FormatDateTime(@toDateTime(.TransactionDate),null,null,"")
Above expression will convert the value from date to date time to the operator time zone format.