+ Reply to Thread
Results 1 to 6 of 6

VBA help calculating UK and US date/times

Hybrid View

  1. #1
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: VBA help calculating UK and US date/times

    I attached your file. I did not add any macros but just added several columns to the 'Information From SLA table' worksheet
    Columns G-K
    All I did is set the value of column B (update time) in G and changed the cell format to number and 5 decimals
    the header explains it.
    Now all the timestamps are long numbers and if you calculate based on these the time works (I think)
    Total time spent on Incident IM1086019 is 10 hours 46 minutes and 23 seconds, but I don't think that's correct since you have to take into account the days, but maybe it good, that you'll have to check yourself.

    This is just to show that if you use the timestamd (date and time) as serial number you don't have to worry about the date format.
    Hope this gives you some idea.
    Attached Files Attached Files
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

+ 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. [SOLVED] Need to know how many times a unique date appears more than three times for each location
    By justaguyintx in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-15-2015, 03:04 PM
  2. Calculating Times
    By Lemarzo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-14-2015, 01:16 AM
  3. calculating inter arrival times and statistical distribution of these times
    By ditmar.rijk in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-19-2014, 03:18 AM
  4. Calculating a minutes duration based on start and end date and times
    By chrispx001 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-12-2013, 08:16 AM
  5. Macro Loop – Find Specific Times, Extract Date, Average Values of Times
    By ExcelQuestFL in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-25-2010, 02:50 PM
  6. Replies: 1
    Last Post: 02-05-2009, 03:39 PM
  7. Macro to help sort date - times and average similar times.
    By ferretydeath in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2008, 05:44 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