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 add intervel time in application

How to add intervel time in application

Scheduled Pinned Locked Moved ASP.NET
helptutorial
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
    ChennaiBabu
    wrote on last edited by
    #1

    Hi all, Greetings.I have a doubt.in my application i need to add the intervel time for working hours calculation. for example the work ends at 9 pm.if i add a new work it has to be added with time 9 am.so the 12 hours in between the work has to be add.Can any one help me to solve this problem. thanks in advance

    Babu

    P C 2 Replies Last reply
    0
    • C ChennaiBabu

      Hi all, Greetings.I have a doubt.in my application i need to add the intervel time for working hours calculation. for example the work ends at 9 pm.if i add a new work it has to be added with time 9 am.so the 12 hours in between the work has to be add.Can any one help me to solve this problem. thanks in advance

      Babu

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      Dim endDate as DateTime
      Dim newStartDate as DateTime

      'Set your end date and then:

      newStartDate = endDate.AddHours(12)

      1 Reply Last reply
      0
      • C ChennaiBabu

        Hi all, Greetings.I have a doubt.in my application i need to add the intervel time for working hours calculation. for example the work ends at 9 pm.if i add a new work it has to be added with time 9 am.so the 12 hours in between the work has to be add.Can any one help me to solve this problem. thanks in advance

        Babu

        C Offline
        C Offline
        ChennaiBabu
        wrote on last edited by
        #3

        actually it has to be added for everyday work setting.how it will be possible.can you tell me clearly.

        Babu

        N 1 Reply Last reply
        0
        • C ChennaiBabu

          actually it has to be added for everyday work setting.how it will be possible.can you tell me clearly.

          Babu

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          ChennaiBabu wrote:

          can you tell me clearly

          Only if you explain clearly want you need.

          only two letters away from being an asset

          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