0
   

Date Format

 
 
gollum
 
Reply Mon 22 Aug, 2016 02:04 pm
When I write today's date (August 22, 2016), Excel changes it to 22-Aug-16.

How can I keep it my way?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 523 • Replies: 4
No top replies

 
engineer
 
  1  
Reply Tue 23 Aug, 2016 11:44 am
@gollum,
Right click on the cell, select FORMAT, select the DATE option if it doesn't default to that and select the format you want.
0 Replies
 
contrex
 
  1  
Reply Tue 23 Aug, 2016 11:59 am
Select Format Cells, choose Custom and in the box type (note the spaces)

dd mmmm yyyy

This would produce 2 digit day numbers, I mean 01 to 09 for the numbers less than 10. If you was single digits for those numbers use d mmmm yyyy

Day codes

d 1 to 31
dd 01 to 31
ddd Sun to Sat
dddd Sunday to Saturday

Month codes

m 1 to 12
mm 01 to 12
mmm Jan to Dec
mmmm January to December

Year codes

yy 16
yyyy 2016

contrex
 
  1  
Reply Tue 23 Aug, 2016 01:26 pm
The full list

Code:m Month number without a leading zero 1
mm Month number with a leading zero 01
mmm Month name, short form Jan
mmmm Month name, full form January
mmmmm Month as the first letter J (stands for January, June and July)
d Day number without a leading zero 1
dd Day number with a leading zero 01
ddd Day of the week, short form Mon
dddd Day of the week, full form Monday
yy Year (last 2 digits) 05
yyyy Year (4 digits) 2005


You can add punctuation, dashes etc so

dddd, mmmm dd, yyyy gives a date like Tuesday, August 23, 2016
0 Replies
 
gollum
 
  1  
Reply Tue 23 Aug, 2016 04:54 pm
@contrex,
Thank you.
0 Replies
 
 

Related Topics

Change default fill color - Question by Sigandi
Excel - Question by Sigandi
penalty - Question by Nashaat
 
  1. Forums
  2. » Date Format
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 04/25/2024 at 06:48:13