+ Reply to Thread
Results 1 to 21 of 21

Today is 02/20/YY

  1. #1
    Forum Contributor
    Join Date
    05-18-2018
    Location
    US / UK / NL / DE
    MS-Off Ver
    Up to date Office 365 in various languages and Office 2010
    Posts
    110

    Today is 02/20/YY

    Good morning all,

    Recently date formatting changed in my sheet.

    This: =TEXT(TODAY();"MM/DD/YY")

    Results in this: 02/20/YY


    Any idea what could be wrong ?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Today is 02/20/YY

    Could be a locale thing. Try this instead:

    =TEXT(TODAY(),"MM/DD/YY")

    Or this maybe:

    =TEXT(TODAY();"MM/DD/JJ")

    or:

    =TEXT(TODAY();"MM/DD/AA")

    or whatever the initial letter of your word for year is. Your location in your profile is really unhelpful in this respect!
    Last edited by AliGW; 02-20-2022 at 05:10 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    05-18-2018
    Location
    US / UK / NL / DE
    MS-Off Ver
    Up to date Office 365 in various languages and Office 2010
    Posts
    110

    Re: Today is 02/20/YY

    Thanks Ali

    Already tried that but replacing ; with , result in an error message

    It worked ok before. I am not sure when it changed, days / week / months ago.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Today is 02/20/YY

    It is a locale thing - see additions to post above.

    Your location details in your profile make this tricky to narrow down! It should be the location you are NOW and reflect the locale of your current machine.

    Next time, save us time by telling us what you have already tried.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,466

    Re: Today is 02/20/YY

    This, =TEXT(TODAY(),"MM/DD/YY") in UK Regional format, gives me 02/20/22. If I try to enter =TEXT(TODAY();"MM/DD/YY"), I get an error in the formula.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Today is 02/20/YY

    You machine is set to having what/where as the locale???
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,466

    Re: Today is 02/20/YY

    For me, in the UK:

    =TEXT(TODAY(),"MM/DD/AA") returns 02/20/AA
    =TEXT(TODAY(),"MM/DD/JJ") returns 02/20/JJ

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Today is 02/20/YY

    My point, just for clarity, is that I believe the OP to be using a UK locale (using commas instead of semi-colons), but with date settings set to either Danish (AA) or Dutch (JJ).

    This is why he's getting this:

    20/02/YY

    because his settings are looking for either AA or JJ instead of YY.

    It's really irrelevent what a normal/classic and untweaked UK set-up would/will return, because that's clearly not what he's got.

    Anyway, I suspect the OP has worked it out for themselves and not bothered to tell us - they disappeared an hour ago.
    Last edited by AliGW; 02-20-2022 at 06:12 AM.

  9. #9
    Forum Contributor
    Join Date
    05-18-2018
    Location
    US / UK / NL / DE
    MS-Off Ver
    Up to date Office 365 in various languages and Office 2010
    Posts
    110

    Re: Today is 02/20/YY

    > Next time, save us time by telling us what you have already tried.

    You are nice as always :-(
    Last edited by Duncan-; 02-20-2022 at 07:11 AM.

  10. #10
    Forum Contributor
    Join Date
    05-18-2018
    Location
    US / UK / NL / DE
    MS-Off Ver
    Up to date Office 365 in various languages and Office 2010
    Posts
    110

    Re: Today is 02/20/YY

    Quote Originally Posted by Glenn Kennedy View Post
    You machine is set to having what/where as the locale???
    I have no idea Glenn ? How do I find out ? it might have changed and hence the error.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Today is 02/20/YY

    Please don't take it that way! It just helps if you tell us up front what has already been done to troubleshoot!!!

    Has anything here helped you solve the issue? Or did you solve it yourself?

    Pleae mark as solved if so. Thanks.

  12. #12
    Forum Contributor
    Join Date
    05-18-2018
    Location
    US / UK / NL / DE
    MS-Off Ver
    Up to date Office 365 in various languages and Office 2010
    Posts
    110

    Re: Today is 02/20/YY

    When fiddling for hours I do not keep notes. Sorry.

    Not sure why you are pushing so much. Please relax and enjoy the day.

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Today is 02/20/YY

    OK - well, I have tried hard to help you here. Have you tried anything I've suggested? What happened when you did?

    Not sure why you are pushing so much.
    To try to help you solve the issue!!! If you would prefer me not to care, then I'm very happy to step aside. Just let me know.

  14. #14
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,466

    Re: Today is 02/20/YY

    It's really irrelevent what a normal/classic and untweaked UK set-up would/will return, because that's clearly not what he's got.
    I was just demonstrating the sort of outcome you get if the region/locale does not match the letters you use for the year.

    You don't own the thread just because you answered first. And you clearly weren't getting your point across. The OP obviously doesn't know what has changed or why so maybe you should address that.

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Today is 02/20/YY

    I don't think I own the thread, Trevor, and I think I did address it: my assumption (that he needs to check and report back on) is that the date settings on his machine have been changed to either Dutch or Danish.

    Can't be doing with touchy people. I'm out. Have a lovely Sunday, everyone!

    Duncan - I hope you get this resolved.

  16. #16
    Forum Contributor
    Join Date
    05-18-2018
    Location
    US / UK / NL / DE
    MS-Off Ver
    Up to date Office 365 in various languages and Office 2010
    Posts
    110

    Re: Today is 02/20/YY

    Turns out I need different formulas on my different systems. This issue was on a system using the US version of excel, but somehow it seems Microsoft uses Dutch settings. Changing YYYY to JJJJ fixed the issue. On my other systems YYYY still works fine.

    Thnaks a lot to everybody helping to fix this issue.

  17. #17
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Today is 02/20/YY

    Good ol' Microsoft!!

  18. #18
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Today is 02/20/YY

    Who's on first? He-he-he-he!
    Dave

  19. #19
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Today is 02/20/YY

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  20. #20
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Today is 02/20/YY

    @FlameRetired: Quite possibly my favorite comedy routine of all time.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  21. #21
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Today is 02/20/YY

    @ MrShorty

    Yup:
    The Mrs. and I have had that conversation many times.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 10
    Last Post: 09-06-2023, 08:19 PM
  2. Replies: 4
    Last Post: 05-04-2020, 04:42 PM
  3. [SOLVED] Counting Tasks With Due Dates between TODAY and TODAY+7
    By Erik_with_a_K in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-29-2013, 09:00 AM
  4. condit. format: If date in cell = today, display "Today"
    By ratkins in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2013, 01:33 PM
  5. Replace today() with a hardcoded value representing today in all tabs
    By Romanian37 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-23-2013, 07:03 AM
  6. AutoFilter for any cell between =today() and =today()+14??
    By kpratico in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-01-2010, 04:36 PM
  7. Replies: 3
    Last Post: 12-11-2007, 01:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1