In Controller
java.sql.Date ashipdate;
//In PFR
String ActualShipDate = pageContext.getParameter("ActualShippedDate");
OADBTransaction txn = am.getOADBTransaction();
if(ActualShipDate!=null)
{
java.sql.Date javaSqlDate = txn.getOANLSServices().stringToDate(ActualShipDate);
ashipdate = javaSqlDate;
}
java.sql.Date ashipdate;
//In PFR
String ActualShipDate = pageContext.getParameter("ActualShippedDate");
OADBTransaction txn = am.getOADBTransaction();
if(ActualShipDate!=null)
{
java.sql.Date javaSqlDate = txn.getOANLSServices().stringToDate(ActualShipDate);
ashipdate = javaSqlDate;
}
5 comments:
Thanks
Thanks
Thanks
How to upload a date column of .csv file which has "DD-Mon-YY" (12-Dec-20) format in a database table date column. Please advise.
How to upload a date column of .csv file which has "DD-Mon-YY" (12-Dec-20) format in a database table date column. Please advise.
Post a Comment