Syntax Question

Questions about MultiCharts and user contributed studies.
Posts: 9
Joined: 21 Oct 2009

Syntax Question

Postby andydandy » 31 Oct 2009

I am trying to get Fileappend to output the correct date and time format

Could someone please correct this code

xText = numtoStr(Date,0) + ", ";
xText = xText + numtoStr(Time_s,0000) + ", ";

date format should be 12/19/2008
time format should be 2:17:37

Many Thanks

User avatar
Posts: 7403
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 996 times
Been thanked: 2123 times

Postby TJ » 31 Oct 2009

at the MultiCharts program, press F1 (help)

or from the main menu, select Help> MultiCharts Help

The MultiCharts User Guide will pop up

select the Contents tab

expand the Keyword Reference

you will see all the EasyLanguage keywords under different categories

expand the Date and Time Routines

you will see all the available date/time manipulation keywords

look for:

Format Date
Format Time

(48.16 KiB) Downloaded 180 times

Return to “MultiCharts”