Time

Created at 28 Oct 2021, 13: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!
EM

emmasystems

Joined 08.12.2015

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.

 


@emmasystems
Replies

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

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:57 ( Updated at: 31 Oct 2021, 22:15 )

RE:

 

 


@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

amusleh
01 Nov 2021, 08:16

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.


@amusleh

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 

Join us on Telegram and Facebook

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