Consulting

Results 1 to 4 of 4

Thread: Self defined date format [$-130000]

  1. #1
    VBAX Contributor
    Joined
    Oct 2004
    Posts
    159
    Location

    Self defined date format [$-130000]

    Recently I found someone use below formula to change calendar to Chinese Lunar Calendar in Excel 2007 ( some words are in Chinese Characters), but some date cannot be changed.

    =TEXT(A1,"[$-130000]yy年m月"&IF(LEN(--TEXT(A1,"[$-130000]dd"))=1,"初","")&"d")

    It is similar to the self defined date format [$-404] use in Tai Wan Excel Version. Anyone know where I can find the description for format [$-404] and [$-130000] ?

    Thanks
    Emily

    Cross Post:
    http://www.mrexcel.com/forum/showthr...75#post1637075

  2. #2
    VBAX Contributor
    Joined
    Oct 2004
    Posts
    159
    Location
    Most likely [$-13000] is LCID similar to [$-404] but it is not in the list
    http://www.microsoft.com/globaldev/r...px#winVistaSKU

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    I don't know where you can find a list, but if you do a Format>Cells>Date and pick from Locale (location) list and then goto Custom, you can find the number applicable.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  4. #4
    VBAX Contributor
    Joined
    Oct 2004
    Posts
    159
    Location
    Thanks xld

    May be pcg01 from Mr. Excel gives me hint to solve my question.

    Check the definition of an international format here:

    http://office.microsoft.com/en-us/ex...346351033.aspx

Posting Permissions

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