Link to home
Start Free TrialLog in
Avatar of brothertruffle880
brothertruffle880Flag for United States of America

asked on

Excel 2010 - Date/Time Formatting - Question About Symbols Used in Formatting.

I thought I knew all about date/time formatting but then I saw this:
"[$-409]m/d/yy h:mm AM/PM;@"

What does the [$-409] mean?
Why is it in square brackets?
What does the @ symbol mean?
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

I think that both of them are meaningless since m/d/yy h:mm AM/PM gives the same results.
SOLUTION
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of brothertruffle880

ASKER

What's the significance of the semi-colon and the @ sign next to it?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What is the significance of the semi-colon and the @ sign next to it?
Nothing specifically if you input a date time stamp in the cell with that custom format. You may remove the ;@ from the custom format string and that won't have any effect on the formatting of the date/time. As I already said that @ is used for text so in this case you may input either a date/time stamp or a string in the cell.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks to all for your valued assistance.  You made my life easier!
You're welcome!
You’re welcome and I’m glad I was able to help.

If you expand the “Full Biography” section of my profile you’ll find links to some articles I’ve written that may interest you.

Marty - Microsoft MVP 2009 to 2017
              Experts Exchange Most Valuable Expert (MVE) 2015, 2017
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2017
              Experts Exchange Top Expert VBA (current)