How to display a time in Ax 2009?

Hi,

I wantto display a time. Like date (SystemDateGet()). How to display a current time in HH:MM:SS format?

Thanks

Hi,

try this…

info(strFmt(’%1’, time2str(timeNow(), TimeSeparator::Colon, timeseparator::Colon)));

}

Thanks Chaitanya. Its working

Hi i need another help from you .

Now i display Date and time like this

SystemDateGet(); = 2014\03\11

currenttime = strFmt(time2str(timeNow(), TimeSeparator::Colon, timeseparator::Colon)); HH:MM:SS

But i need to display both current date and time in string format eg 201403009133435

Pls reply ASAP.