DateTime Data variable


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: DateTime Data variable

  1. #1
    V. Srinivasan Guest

    DateTime Data variable


    hi

    In VB whether there is any Data variable for accepting date and time.
    Date variable is in VB. I need Date and time. For Calculating Overtime.

    Srinivasan


  2. #2
    Douglas J. Steele Guest

    Re: DateTime Data variable

    The Date variable stores both Date & Time. Under the covers, it's really an
    8-byte floating-point number. The integer portion of its value represents
    the number of days relative to Dec. 30, 1899, and the decimal portion
    represents the time as a fraction of a day (eg.: 6:00 AM is .25, Noon is .5
    and 6:00 PM is .75)

    HTH

    --

    Doug Steele, Microsoft Access MVP
    Beer, Wine and Database Programming. What could be better?
    Visit "Doug Steele's Beer and Programming Emporium"
    http://I.Am/DougSteele/


    V. Srinivasan <srikailash@usa.net> wrote in message
    news:39e18f47$1@news.devx.com...
    >
    > hi
    >
    > In VB whether there is any Data variable for accepting date and time.
    > Date variable is in VB. I need Date and time. For Calculating Overtime.
    >
    > Srinivasan
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center