Time
Time
28 Oct 2021, 13:43
Please how is time set in 24hrs clock.
input startservertime = 18.06hrs
The valid syntax will be appreciated. Thank you.
Replies
emmasystems
31 Oct 2021, 21:55
RE:
amusleh said:
Hi,
Please learn basics of C# before developing indicators/cBot.
For date and time you can use C# DateTime, DateTimeOffset, and TimeSpan types.
To get time from user via a parameter you can use string for parameter type and then parse it to any of the above mentioned types.
This has nothing to do with the basics.
@emmasystems
emmasystems
31 Oct 2021, 21:59
( Updated at: 31 Oct 2021, 22:14 )
RE:
l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;l;
@emmasystems
emmasystems
31 Oct 2021, 22:01
RE:
amusleh said:
Hi,
Please learn basics of C# before developing indicators/cBot.
For date and time you can use C# DateTime, DateTimeOffset, and TimeSpan types.
To get time from user via a parameter you can use string for parameter type and then parse it to any of the above mentioned types.
point to the link
@emmasystems
emmasystems
01 Nov 2021, 14:03
( Updated at: 01 Nov 2021, 14:07 )
RE:
amusleh said:
Hi,
Your questions is not clear at all, not just this one but also your other questions on your other threads.
Please stop spamming the forum and instead try to find a better way to explain your issue.
hello , plain request , provide the link.
@emmasystems
PanagiotisCharalampous
01 Nov 2021, 14:15
Hi emmasystems,
As Ahmad pointed out, you need to put some more effort in explaining yourself and show some more respect to people trying to help. DateTime, DateTimeOffset, and TimeSpan are basic .Net types. Google the terms and you will find thousands of resources.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
emmasystems
01 Nov 2021, 16:26
RE:
PanagiotisCharalampous said:
Hi emmasystems,
As Ahmad pointed out, you need to put some more effort in explaining yourself and show some more respect to people trying to help. DateTime, DateTimeOffset, and TimeSpan are basic .Net types. Google the terms and you will find thousands of resources.
Best Regards,
Panagiotis
Nobody will be troubled if cTrader have solid api , sdk manual and documentation for those that need to use it for programming .
@emmasystems
... Deleted by UFO ...
PanagiotisCharalampous
01 Nov 2021, 16:32
Hi emmasystems,
Can you please point out what is missing from documentation that is related to this thread?
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
amusleh
29 Oct 2021, 08:50
Hi,
Please learn basics of C# before developing indicators/cBot.
For date and time you can use C# DateTime, DateTimeOffset, and TimeSpan types.
To get time from user via a parameter you can use string for parameter type and then parse it to any of the above mentioned types.
@amusleh