Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to calculate Weekly dates ?

How to calculate Weekly dates ?

Scheduled Pinned Locked Moved ASP.NET
csharphelptutorialquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Care Career
    wrote on last edited by
    #1

    Hi I have 2 textboxes .in first i m saving start date & in second i m saving end date. if in first textbox i have 01/08/07 value & in 2nd textbox i have 31/08/07 .I weekly dates between these. Can anyone help for this i want code for this in c# language syntax. Thanks CARECAREER

    B 1 Reply Last reply
    0
    • C Care Career

      Hi I have 2 textboxes .in first i m saving start date & in second i m saving end date. if in first textbox i have 01/08/07 value & in 2nd textbox i have 31/08/07 .I weekly dates between these. Can anyone help for this i want code for this in c# language syntax. Thanks CARECAREER

      B Offline
      B Offline
      Blue_Boy
      wrote on last edited by
      #2

      do you want to find how many weeks are between two dates or do you want to calculate something else bwtween two dates?


      I Love SQL

      C 1 Reply Last reply
      0
      • B Blue_Boy

        do you want to find how many weeks are between two dates or do you want to calculate something else bwtween two dates?


        I Love SQL

        C Offline
        C Offline
        Care Career
        wrote on last edited by
        #3

        i want to calculate weekly dates & want to save these dates in databse. i have one dropdown in this values r daily,weekly,halfyearly,yearly.if i select weekly option & 2 textboxes r there,in 1st textbox 01/08/2007 2nd textbox 31/08/2007 values r there then i want to show on weekly basis all dates between ist aug. to 31st aug. Plz help me i need code in c# for this. Thanks for replaying. Care Career

        C 1 Reply Last reply
        0
        • C Care Career

          i want to calculate weekly dates & want to save these dates in databse. i have one dropdown in this values r daily,weekly,halfyearly,yearly.if i select weekly option & 2 textboxes r there,in 1st textbox 01/08/2007 2nd textbox 31/08/2007 values r there then i want to show on weekly basis all dates between ist aug. to 31st aug. Plz help me i need code in c# for this. Thanks for replaying. Care Career

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Use the AddDays method on the DateTime class.

          Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups