Hi guys,
I am using a method to get the date .i want it ddmmyyyy format .Below is the code I am using :
public TransDate parmAccountingDate(TransDate _accountingDate = accountingDate)
{
str s;
s= date2str(_accountingDate,123,DateDay::Digits2, DateSeparator::Slash, DateMonth::Digits2, DateSeparator::Slash, DateYear::Digits4);
accountingDate = str2Date(s,123);
return accountingDate;
}
In this string s is having it in ddmmyyyy format but when I use str2Date the format changes to mmddyyyy.
Please help
Regards
Aman
*This post is locked for comments
I have the same question (0)