Time Conversion from "C Time Construct"
Posted: Thu Oct 15, 2009 12:24 am
Fellow forum members:
One of my "backburner" items on my to do list (i.e. when I have spare time) is to mine the data from our Cisco Call Manager. I'll get right to the point:
The DateTimeConnection and DateTimeDisconnection values are in what my IT guy told me was "C Construct Time", the number of seconds since 1/1/1970. I was able to figure how to convert the value in Excel using the following formula:
= DATE(1970,1,1) + (DateTimeDisconnection/24/60/60) - TIME(7,0,0)
Below is what I have tried for the TI formula:
You can see the result. After looking at the DATE() function help file, it looks like the function only returns the date; it does not include the time of day. Ideally, I'd like the data to be in MM/DD/YYYY HH:MM format. Has anyone tried anything in a similar manner, or have any suggestions?
I'd appreciate any feedback or suggestions you may help me with. Thank you for your time.
One of my "backburner" items on my to do list (i.e. when I have spare time) is to mine the data from our Cisco Call Manager. I'll get right to the point:
The DateTimeConnection and DateTimeDisconnection values are in what my IT guy told me was "C Construct Time", the number of seconds since 1/1/1970. I was able to figure how to convert the value in Excel using the following formula:
= DATE(1970,1,1) + (DateTimeDisconnection/24/60/60) - TIME(7,0,0)
Below is what I have tried for the TI formula:
You can see the result. After looking at the DATE() function help file, it looks like the function only returns the date; it does not include the time of day. Ideally, I'd like the data to be in MM/DD/YYYY HH:MM format. Has anyone tried anything in a similar manner, or have any suggestions?
I'd appreciate any feedback or suggestions you may help me with. Thank you for your time.