Long date and long time

S

Steve Wright

Hi all,

Anyone know how to format a long date with a long time after it as a single
report field?

I want it to read "Thursday, 19 February 2004 15:33:25"

TIA
Steve
 
K

Ken Snell

Are they in separate fields? If yes, use this in the control source of the
control:

=[LongDateFieldName] & " " & [LongTimeFieldName]
 
S

Steve Wright

Ken,

Ive tried "Now() & " " Now()" but the formating under properties only lets
me have one format!

Steve


Ken Snell said:
Are they in separate fields? If yes, use this in the control source of the
control:

=[LongDateFieldName] & " " & [LongTimeFieldName]

--
Ken Snell
<MS ACCESS MVP>

Steve Wright said:
Hi all,

Anyone know how to format a long date with a long time after it as a single
report field?

I want it to read "Thursday, 19 February 2004 15:33:25"

TIA
Steve
 
S

Steve Wright

Ken

=Format(Now(),"dddd\," & " " & "d mmmm yyyy HH:mm:ss")

seems to work
Steve Wright said:
Ken,

Ive tried "Now() & " " Now()" but the formating under properties only lets
me have one format!

Steve


Ken Snell said:
Are they in separate fields? If yes, use this in the control source of the
control:

=[LongDateFieldName] & " " & [LongTimeFieldName]

--
Ken Snell
<MS ACCESS MVP>

Steve Wright said:
Hi all,

Anyone know how to format a long date with a long time after it as a single
report field?

I want it to read "Thursday, 19 February 2004 15:33:25"

TIA
Steve
 
K

Ken Snell

Yes, using Format is the correct option. I hadn't included that in my first
reply because I understood that you were wanting to combine two fields that
were formatted already with the long date and long time.

Good luck.

--
Ken Snell
<MS ACCESS MVP>

Steve Wright said:
Ken

=Format(Now(),"dddd\," & " " & "d mmmm yyyy HH:mm:ss")

seems to work
Steve Wright said:
Ken,

Ive tried "Now() & " " Now()" but the formating under properties only lets
me have one format!

Steve


Ken Snell said:
Are they in separate fields? If yes, use this in the control source of the
control:

=[LongDateFieldName] & " " & [LongTimeFieldName]

--
Ken Snell
<MS ACCESS MVP>

Hi all,

Anyone know how to format a long date with a long time after it as a
single
report field?

I want it to read "Thursday, 19 February 2004 15:33:25"

TIA
Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top