Friday, 11 March 2016

Remove the characters from string and convert to date to str in Axapta

strRem and date2str
Below job are to explain about how remove the characters from date and time in axapta

static void Job131(Args _args)
    str st;
    st = strRem(date2str(today(),213,2,0,2,0,4)+time2str(timenow(),                       TimeSeparator::Space,TimeFormat::Auto)," ");
Normally date and time will display like 09/25/2013 07:14:30 Am
By using date2str it will convert the date to str and again remove the character also .

No comments:

Post a Comment