Results 1 to 3 of 3

Thread: ASP Calender...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    England
    Posts
    165

    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
    _____

    Hehehe

  2. #2
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    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 :

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    England
    Posts
    165
    You're a star dude - I think thats what I'm looking for.
    _____

    Hehehe

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width