Help Desk Software & Beyond
May 23, 2012, 06:34:05 AM *
Welcome, Guest. Please login or register.
To post messages you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.

Login with username, password and session length
News: Welcome to Help Desk Software forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: What format can I use in the time fields for Excel?  (Read 1662 times)
samselimi
Newbie
*

Karma: 0
Posts: 1


View Profile
« on: February 18, 2009, 11:49:00 AM »

I am exporting the data from tickets.cgi  to be displayed on it's own in Excel. I am editing the data in Excel but the time fields don't convert easily in Excel. What Time/Date Format can I use in Excel to display a real time/Date rather that just numbers like 1234903780?

Thanks in advance.

Sam
Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #1 on: February 18, 2009, 11:54:58 AM »

In the sticky thread called, Demo, Documentation, & Support...

http://forum.unitedwebcoders.com/index.php/topic,500.0.html

You'll find a link called, Date Format Explained...

http://forum.unitedwebcoders.com/index.php/topic,456.0.html

After that, you should have enough information to construct an Excel formula to convert it.
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #2 on: February 18, 2009, 11:57:17 AM »

http://forum.unitedwebcoders.com/index.php/topic,456.msg2421.html#msg2421

So it looks like it is the number of seconds since January 1, 1970, and ttx stores the dates for open, close, update in UTC (ie in the above example, "my" time for the item shows 17 hours, but the logged time is 22 hours, and my timezone is UTC - 5 hours.
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
webcarvallo
Newbie
*

Karma: 1
Posts: 15


View Profile
« Reply #3 on: May 30, 2011, 05:55:19 PM »

My friend:   The solution is quite simple.

You need to use this formula in excel to get the date (nor the time):

=(((YOUR_ORIGIN_CELL/60)/60)/24)+DATE(1970;1;1)   or mor simple: =((YOUR_ORIGIN_CELL/3600)/24)+DATE(1970;1;1)

You may need to replace ";" for "," depending your excel configuration.

And thatīs all.  Quick & Simple.  You'll get the correct date.

Cheers.


I am exporting the data from tickets.cgi  to be displayed on it's own in Excel. I am editing the data in Excel but the time fields don't convert easily in Excel. What Time/Date Format can I use in Excel to display a real time/Date rather that just numbers like 1234903780?

Thanks in advance.

Sam
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.023 seconds with 18 queries.