|
-
Jun 22nd, 2003, 04:14 PM
#1
Thread Starter
Addicted Member
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
-
Jun 22nd, 2003, 05:29 PM
#2
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
Last edited by Danial; Jun 22nd, 2003 at 05:33 PM.
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Jun 22nd, 2003, 05:31 PM
#3
Thread Starter
Addicted Member
You're a star dude - I think thats what I'm looking for.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|