FormatDate with hh:mm:ss  [SOLVED]

Questions about MultiCharts and user contributed studies.
User avatar
Posts: 268
Joined: 05 Dec 2014
Location: Italy
Has thanked: 48 times
Been thanked: 3 times

FormatDate with hh:mm:ss

Postby tradingest » 27 Jan 2018

Hi all,

currently I have this format date but I want to see the date with hh:mm:ss.

Code: Select all

print("Data: ", FormatDate( "dd-MM-yyyy",ElDateToDateTime(Date)));

How can I modify the code above to see format date with hh:mm:ss.


Posts: 91
Joined: 15 Jun 2014
Has thanked: 13 times
Been thanked: 21 times

Re: FormatDate with hh:mm:ss  [SOLVED]

Postby Jad » 28 Jan 2018

These users thanked the author Jad for the post:

Return to “MultiCharts”