static void CON_DateFormat(Args _args)
{
date todaydate = today();
str s;
s = date2str(todaydate,123,DateDay::Digits2,DateSeparator::Hyphen,
DateMonth::Short,DateSeparator::Hyphen,DateYear::Digits4);
info(strFmt("Today date is " + s));
}
{
date todaydate = today();
str s;
s = date2str(todaydate,123,DateDay::Digits2,DateSeparator::Hyphen,
DateMonth::Short,DateSeparator::Hyphen,DateYear::Digits4);
info(strFmt("Today date is " + s));
}
No comments:
Post a Comment