Hello ,
I wonder if it is possible to extract the Day of the Week from open orders ?
I checked the function : OrderOpenTime();
But I don't know if it is possible to extract the day of the week from it,, any suggestions ?
How to: Extract the Day of the Week from a Specific Date
-
- Trader
- Posts: 18
- Joined: Thu Apr 12, 2012 4:49 pm
- renexxxx
- Trader
- Posts: 860
- Joined: Sat Dec 31, 2011 3:48 am
How to: Extract the Day of the Week from a Specific Date
Code: Select all
int weekDay = TimeDayOfWeek(OrderOpenTime());
-
- Trader
- Posts: 18
- Joined: Thu Apr 12, 2012 4:49 pm
How to: Extract the Day of the Week from a Specific Date
Thanks a lot :hi: , works like magicrenexxxx » Mon Jun 28, 2021 4:21 am wrote:Code: Select all
int weekDay = TimeDayOfWeek(OrderOpenTime());