|
Function of getting the last day of the current month in Delphi
|
|
11-30-2009, 06:08 AM
Post: #1
|
|||
|
|||
|
Function of getting the last day of the current month in Delphi
This function returns type TDate and that represents last day of the current month. Here is the code :
Code: function LastDayOfCurrentMonth: TDate;Code: ShowMessage(DateToStr(LastDayOfCurrentMonth));http://www.pro9ramming.com/day-in-week-b...t-160.html That is in Pascal, but it is easy to optimize it for Delphi. "I dont know with what weapons World War 3 will be fought with, but i know World War 4 will be fought with stones and sticks" - Albert Einstein |
|||
|
« Next Oldest | Next Newest »
|






