I need to calculate the next invoice date when inputting stuff to my table. The next invoice date is always the first of the month, can anyone tell me how i go about this? So far I have
DATEADD(month, 1, GETDATE())
Which gives me the next month. But how do I set the day to be the first of the month?
DATEADD, DIFF, NAME, PART don't really seem to give me what I want.
Please help
[sig][/sig]
DATEADD(month, 1, GETDATE())
Which gives me the next month. But how do I set the day to be the first of the month?
DATEADD, DIFF, NAME, PART don't really seem to give me what I want.
Please help