var oDate = Pm.CreatePmDateObject(); var nDay = oDate.GetDay();
var oDate = Pm.CreatePmDateObject(tDate); var nDay = oDate.GetDay();