How to convert Datetime function to read in exploration window

Hi all,

Thanks for the continuous support from the active members.
I am fetching the DateTIme() values of today and yesterday.In exploration window it is showing in some miscellaneous numbers,which is in not in understandable way. can any one help me how to convert to easily understandable format.

today = DateTime();

one_day_old=  DateTimeAdd( today , -1, inDaily );

Filter =1;
AddColumn(today ,"today ",1.0);
AddColumn(one_day_old,"one_day_old",1.0);


vol2
Thanks in advance.

For DateTime output you need to use FormatDateTime

AddColumn(today ,"today ",formatDateTime);
AddColumn(one_day_old,"one_day_old",formatDateTime);

Take a look at the manual.

1 Like

@dav - a TUTORIAL is a must read for every new user http://www.amibroker.com/guide/tutorial.html

1 Like