Showing posts with label Month. Show all posts
Showing posts with label Month. Show all posts
Friday, 30 October 2009
Get last day of month - CR
local numbervar thismonth := Month(CurrentDate)+1;
local numbervar thisyear := Year(CurrentDate);
local datevar endday;
endday := Date(thisyear, thismonth, 1)-1; //get the last day of the month
local numbervar thisyear := Year(CurrentDate);
local datevar endday;
endday := Date(thisyear, thismonth, 1)-1; //get the last day of the month
Get first day of month - CR
local numbervar thismonth := Month(CurrentDate);
local numbervar thisyear := Year(CurrentDate);
local datevar startday;
startday := Date(thisyear, thismonth, 1); //get the first day of the month
local numbervar thisyear := Year(CurrentDate);
local datevar startday;
startday := Date(thisyear, thismonth, 1); //get the first day of the month
Subscribe to:
Posts (Atom)