Solved

Excel 2010 - Date Formatting  Question (Understanding symbols and formatting commands)

Posted on 2016-11-09
4
20 Views
Last Modified: 2016-12-02
What do the numbers inside the square brackets mean?  There doesn't seem to be any difference between
[$-F800]dddd, mmmm dd, yyyy
and
dddd, mmmm dd, yyyy
Both of the above formats generate: Monday, November 07, 2016
0
Comment
Question by:brothertruffle880
  • 3
4 Comments
 
LVL 47

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 500 total points (awarded by participants)
ID: 41881451
The [$-F800] is specifying the system date format, as set on your computer. The format after it can be any date format and it will have no impact on the displayed format.

So this...

[$-F800]dddd, mmmm dd, yyyy

...will return the same date format as this...

[$-F800]dd-mmm-yy
1
 

Author Comment

by:brothertruffle880
ID: 41885721
Can you explain the meaning of the numbers/symbols?
There's also a F-409.
[$-409]dddd, mmmm dd, yyyy
0
 
LVL 47

Assisted Solution

by:Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs) earned 500 total points (awarded by participants)
ID: 41885725
The number is just the locale code. 409 specifies English - United States. It allows you to use the regional date format for the specified locale, regardless of what system format is on the users computer.
0
 
LVL 47

Expert Comment

by:Wayne Taylor (webtubbs)
ID: 41909936
Question answered
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now