cancel
Showing results for 
Search instead for 
Did you mean: 

Date to find day

NayanaH_P
Level 4
Take any date and find the day of it.

------------------------------
Nayana H P
------------------------------
1 BEST ANSWER

Best Answers

ewilson
Staff
Staff
@NayanaH_P,

See this recent thread:

https://community.blueprism.com/discussion/day-from-date?ReturnUrl=%2fcommunity-discussions%2fallrecentposts

All you do is replace the call to Now() with whatever DateTime value you need.

Cheers,


------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

View answer in original post

2 REPLIES 2

ewilson
Staff
Staff
@NayanaH_P,

See this recent thread:

https://community.blueprism.com/discussion/day-from-date?ReturnUrl=%2fcommunity-discussions%2fallrecentposts

All you do is replace the call to Now() with whatever DateTime value you need.

Cheers,


------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hi Nayana,

While Now() may seem straight forward, it provides you with UTC date and time. In my case, we have CET time and are not tempted to use Now(), instead we might use LocalTime(). Read this link to get more info on this.

------------------------------
Happy coding!
Paul
Sweden
------------------------------
Happy coding!
Paul, Sweden
(By all means, do not mark this as the best answer!)