+ Reply to Thread
Results 1 to 2 of 2

[SOLVED] Converting dates

  1. #1
    Ana
    Guest

    [SOLVED] Converting dates

    Hi,

    I need to convert the date format dd/mm/yyyy to yyyymmdd.

    How would I go by?

    TIA

    Ana



  2. #2
    Forum Contributor
    Join Date
    02-15-2005
    Location
    Blackpool, UK
    Posts
    137
    Hi Ana,

    no problem, just right click in the cell, and select "Format Cells" about half-way down the list.

    Select the "Number" tab.

    Select "Custom" from the category list.

    left click the "Type" box and use delete key to clear anything in this box (if it isn't empty already) and type in the date format of your choice, i.e. "yyyymmdd".

    You should see the date in the way you want in the "Example" box.

    This works because Excel holds dates as the number of days since 1 January 1900. So 9 September 2005 is held as 38604, tomorrow will be held as 38605, etc. Therefore Excel can convert this into a date in any format, so long as you tell it what you want.

    For fun, try using yyyyMMMDDD (not case sensative).

    HTH

    Art

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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