A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date and Time in One field



 
 
Thread Tools Display Modes
  #1  
Old December 21st, 2006, 07:26 PM posted to microsoft.public.access.forms
wizmark
external usenet poster
 
Posts: 1
Default Date and Time in One field

I hope to generate date and time in a table combining date and time. Example:
ddmmmyyyy plus HH:nn (time in 24 hour format). Is this possible? I thought
I'd done it years ago but can't figure out how to do it now.
--
wizmark
  #2  
Old December 21st, 2006, 07:31 PM posted to microsoft.public.access.forms
Daniel
external usenet poster
 
Posts: 1,017
Default Date and Time in One field

yes, this is normal functioning of Date/Time fields.

now() = 12/21/2006 1:27:53 PM
date() = 12/21/2006
time() = 1:27:53 PM

all dates and times can be store in a date/time field as well as the
combination of both. Simply define your field as a Date/Time field in your
table and your off to the races!

Daniel




"wizmark" wrote:

I hope to generate date and time in a table combining date and time. Example:
ddmmmyyyy plus HH:nn (time in 24 hour format). Is this possible? I thought
I'd done it years ago but can't figure out how to do it now.
--
wizmark

  #3  
Old December 22nd, 2006, 02:03 AM posted to microsoft.public.access.forms
Jacob
external usenet poster
 
Posts: 14
Default Date and Time in One field

Set the field format to:
dd mmmm yyyy hh:nn

I also suggest that you set the mask to 00/00/00\ 00:00;0;_ to
facilitate easier data entry

Regards
Jacob


wizmark wrote:
I hope to generate date and time in a table combining date and time. Example:
ddmmmyyyy plus HH:nn (time in 24 hour format). Is this possible? I thought
I'd done it years ago but can't figure out how to do it now.
--
wizmark


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.