suresh-1991
New Member
Hi Folks,
How to Convert IST time to UST time, can anyone suggest me with code or else with Blueprism.
How to Convert IST time to UST time, can anyone suggest me with code or else with Blueprism.
Are you still looking out for a solution on this?Hi Folks,
How to Convert IST time to UST time, can anyone suggest me with code or else with Blueprism.
Hi Folks,
How to Convert IST time to UST time, can anyone suggest me with code or else with Blueprism.
Hope you got the solutionThanks for your help Poornima.
Hi Suresh, updated VBO is available in blueprism portal for this
VBO name: Utility - Date and Time Manipulation
Action Name: Local to UTC
Input:
1. Get current IST date and time using Now() function and store it into data item
2. Pass Timezone ID or name for UST
Output: It will convert to UST and returns the output.
Note: To know the Timezone ID for UST, call action Get Timezones from same VBO and it returns the list of Timezones in collection
Yes, it worked...
COuld u Please post me the whole process in screenshots.Yes, it worked...
Sorry, the action should be UTC to Local. Attached screenshots for reference.COuld u Please post me the whole process in screenshots.
It'll help to know abt it.
Do we have anything similar for date format.Use below code to change current local time to a specific Timezone
Input
TimeZoneID as Text
Output
ConvertedTime as Time
Dim now As DateTime = DateTime.Now
ConvertedTime = TimeZoneInfo.ConvertTime(now, TimeZoneInfo.FindSystemTimeZoneById(TimeZoneID))
=============================================================================
This will return as output as DateTime
Input
TimeZoneID as Text
Output
ConvertedTime as DateTime
Dim now As DateTime = DateTime.Now
ConvertedTime = TimeZoneInfo.ConvertTime(now,TimeZoneInfo.Local,TimeZoneInfo.FindSystemTimeZoneById(TimeZoneID))
Thanks,
Sheel Ku.