for displaying deliveryDateTime based on given minutes in salesparmtable
for displaying deliveryDateTime based on given minutes in salesparmtable
display String30 deliveryDateTime()
{
String30 strvalue;
if(this.INC_DeliveryTime !=0)
{
strvalue = strFmt("%1 %2",today(), time2str((timeNow() + this.INC_DeliveryTime * 60),TimeSeparator::Auto,TimeFormat::Auto));
return strvalue;
}
else
{
return '';
}
}
display String30 deliveryDateTime()
{
String30 strvalue;
if(this.INC_DeliveryTime !=0)
{
strvalue = strFmt("%1 %2",today(), time2str((timeNow() + this.INC_DeliveryTime * 60),TimeSeparator::Auto,TimeFormat::Auto));
return strvalue;
}
else
{
return '';
}
}
Comments
Post a Comment