DateTime.Now.Day for Friday

Created at 02 Mar 2020, 08:43
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
TR

traderfxmaster007

Joined 09.07.2019

DateTime.Now.Day for Friday
02 Mar 2020, 08:43


hi i would like to Confirm if this code is correct to find Day of the week is Friday.

DateTime.Now.Day == 5

please correct me if I'm wrong. thanks.


@traderfxmaster007
Replies

PanagiotisCharalampous
03 Mar 2020, 09:50

Hi traderfxmaster007,

It should be correct. Check here.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous