convert DateTIme in Really date and time of bar chart  [SOLVED]

Questions about MultiCharts and user contributed studies.
turbofib
Posts: 213
Joined: 11 May 2013
Has thanked: 67 times
Been thanked: 1 time

convert DateTIme in Really date and time of bar chart  [SOLVED]

Postby turbofib » 29 Sep 2017

hi,i want plot to begin session this code :

Print(datetime[0]);


but it give me a result which i don't understand....

I want to convert in really Date and Time of bar

i see in keyword reference that
DateTime will return 41422.74 for 5/28/2013 08:41:11.813

but i can't to convert 41422.74 in 5/28/2013 08:41:11.813

it's impossible....

how can i do it?
(the DateTime to help me in correcting code logic ...)

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: convert DateTIme in Really date and time of bar chart

Postby TJ » 29 Sep 2017

Try this

Code: Select all


Print( date + 19000000 , time ) ;


Return to “MultiCharts”