var oDate = Pm.CreatePmDateObject(); // Creates the object with current time var nMonth = oDate.GetMonth();
var oDate = Pm.CreatePmDateObject(tDate); var nMonth = oDate.GetMonth();