View Single Post
  #4  
Old April 15th, 2010, 04:38 PM posted to microsoft.public.access.forms
cloclo via AccessMonster.com
external usenet poster
 
Posts: 3
Default date+time input mask

thank you Arvin, for the response.

Arvin Meyer [MVP] wrote:
You need to understand the Microsoft date format. Dates are Doubles ("with
an attitude" IOW, just any Double won't necessarily work) Zero (0) is
December 30, 1899. The integer portion of the double (actually more
appropriately called a long) or portion to the left of the decimal which
counts the number of days since 12/30/1899. The decimal portion (to the
right of the decimal point) is the time portion. So .5 is noon, .75 is 6:00
PM, etc..

No matter how you enter the date, it will store it that way. So just make
sure that both date and time are entered, and use the format property to
display it the way you want. Any input mask that you use must be matched
from the table. So if you are using a General Date, change it in the table.
Hi,
I have a textbox where I'd like users to input date and time in the

[quoted text clipped - 19 lines]
thanks.
CLO


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/201004/1