Home » U++ Library support » U++ Core » Code for Substrating Months And Years function In Date Class
Code for Substrating Months And Years function In Date Class [message #41998] |
Mon, 10 February 2014 11:30  |
dave
Messages: 14 Registered: July 2011
|
Promising Member |
|
|
hi,
i was going through the functions in Date class and noticed that
there was no function type for substrating months or years from a given date.
can anybody give me the codes for substrating months or years from a given date?
for example like--
Date SubMonths(Date d, int months)
{
....
....
};
Date SubYears(Date d, int years)
{
.....
.....
};
thanks and regards,
dave
|
|
|
Goto Forum:
Current Time: Tue Apr 29 23:25:42 CEST 2025
Total time taken to generate the page: 0.00923 seconds
|