-
ASP Calender...
Right
I work for a small courier firm.
Every monday we invoice sunday-saturdays couriering to each customer, but at the small cost of writing every invoice.
I recently joined this company and have since coded alot of their work in ASP to save time. However producing invoices is quite hard because all I have to work off is the date rather than the day and date.
How can I recognize days/months via a sort of calender?
(By the way, I need to know the months part because if half way through the week we pass into a new month then we do a seperate invoice for those days before the end of the month, and then we invoice the days after the end of the month in the following weeks invoice. HELP!!)
Cheers,
Austin
-
I am not sure i understand your question correctly. But you should look into the Date realted functions.
You can use WeekDay function to get the day name. Also use month function to extract the month from a date.
http://msdn.microsoft.com/library/de...fctweekday.asp
Check out this link for more detais on WeekDay function, also scroll down at the bottom of the page and check out the reference of the other date related function (Date Function | Day Function | Month Function | Now Function | Year Function
)
Hope this helps.
Danial
-
You're a star dude - I think thats what I'm looking for.