+ Reply to Thread
Results 1 to 2 of 2

Convert a cell with a timestamp in it to just the date to compare to another date

  1. #1
    Registered User
    Join Date
    01-03-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    20

    Question Convert a cell with a timestamp in it to just the date to compare to another date

    Good Morning,

    It is a simple one I am afraid.

    How do I convert a cell with a date and time in it (generated by a macro-doubleckick on cell to get a timestamp) to just a date so that I can compare this date to anohter date?

    Kind regards,
    Tanya

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    21,734

    Re: Convert a cell with a timestamp in it to just the date to compare to another date

    Use the Int function on the date/time value to return just a date.

    Hope this helps.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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