SOLVED

automatic time and date in spreadsheet

%3CLINGO-SUB%20id%3D%22lingo-sub-2373493%22%20slang%3D%22en-US%22%3Eautomatic%20time%20and%20date%20in%20spreadsheet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2373493%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20using%20the%20%3DNOW()%20formula%20to%20enter%20current%20time%20and%20date%2C%20however%2C%20it%20enters%20the%20time%20in%2024%20hour%20format%20and%20I%20prefer%2012%20hour%3B%20i.e.%2012%3A45%20etc.%26nbsp%3B%20how%20to%20change%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2373493%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2373561%22%20slang%3D%22en-US%22%3ERe%3A%20automatic%20time%20and%20date%20in%20spreadsheet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2373561%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F93610%22%20target%3D%22_blank%22%3E%40ksmith%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESelect%20the%20cell%20with%20the%20%3DNOW()%20formula.%3C%2FP%3E%0A%3CP%3EPress%20Ctrl%2B1%20to%20activate%20the%20Format%20Cells%20dialog.%3C%2FP%3E%0A%3CP%3EActivate%20the%20Number%20tab.%3C%2FP%3E%0A%3CP%3ESelect%20Date%20in%20the%20Category%20list.%3C%2FP%3E%0A%3CP%3EScroll%20through%20the%20Type%20list%20to%20see%20if%20there%20is%20a%20format%20you%20like.%3C%2FP%3E%0A%3CP%3EIf%20there%20is%2C%20select%20it%20and%20click%20OK.%3C%2FP%3E%0A%3CP%3EIf%20not%2C%20select%20the%20nearest%20one%2C%20then%20select%20Custom%20in%20the%20Category%20list.%3C%2FP%3E%0A%3CP%3EYou%20can%20edit%20the%20format%20code%20in%20the%20Type%20box%20to%20your%20liking.%20For%20example%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Em%2Fd%2Fyyyy%20h%3Amm%20AM%2FPM%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Efor%20something%20like%205%2F20%2F2021%209%3A36%20PM%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThen%20click%20OK.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2373748%22%20slang%3D%22en-US%22%3ERe%3A%20automatic%20time%20and%20date%20in%20spreadsheet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2373748%22%20slang%3D%22en-US%22%3ETHANKS%20HANS%2C%20got%20it%20and%20it%20works.%3C%2FLINGO-BODY%3E
Contributor

I am using the =NOW() formula to enter current time and date, however, it enters the time in 24 hour format and I prefer 12 hour; i.e. 12:45 etc.  how to change?

2 Replies
best response confirmed by allyreckerman (Microsoft)
Solution

@ksmith 

Select the cell with the =NOW() formula.

Press Ctrl+1 to activate the Format Cells dialog.

Activate the Number tab.

Select Date in the Category list.

Scroll through the Type list to see if there is a format you like.

If there is, select it and click OK.

If not, select the nearest one, then select Custom in the Category list.

You can edit the format code in the Type box to your liking. For example:

 

m/d/yyyy h:mm AM/PM

 

for something like 5/20/2021 9:36 PM

 

Then click OK.

THANKS HANS, got it and it works.