SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-30-2023, 08:26 PM
VCRUser VCRUser is offline
Sage Aficionado
 
Join Date: Jan 2008
Posts: 444
date codes in .properties files

I'm trying to convert the date codes in .properties files to human-readable dates. For example:

OriginalAirDate=1446526800000
ScrapedDate=1656490973180

Does anyone know the formula to convert these to human-readable dates? (I don't care about the exact date-format, since I will be handling them manually, so long as I can discern month/day/year (in any order, and ideally, time, though that's less important).

Thanks.
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit.
Reply With Quote
  #2  
Old 04-30-2023, 09:04 PM
jusjoken jusjoken is offline
SageTVaholic
 
Join Date: Dec 2005
Location: Strathmore, AB
Posts: 2,727
I believe those are Java timestamps so if you divide by 1000 and plug into a converter like this one ...

https://timestamp.online/

It should work.

k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page
Reply With Quote
  #3  
Old 05-01-2023, 01:13 AM
VCRUser VCRUser is offline
Sage Aficionado
 
Join Date: Jan 2008
Posts: 444
Thanks! I plugged some in, and the resulting dates looked right.
__________________
Server: Windows 8.1 4gb RAM; 4TB SATA + others. Homebrew quad core AMD. Inputs: Haup. 980, 850 & 950Q on ATSC; Haup 1600 on ATSC & Comcast 2 DTAs with USBUIRT for NTSC. Haup 1800 on ATSC. HDHR Dual (ATSC). Sage 9.22 64 bit.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does date/time of file still affects import of files into the database Islander SageTV Software 0 06-22-2011 09:58 PM
Sorting based on released date and add to library date not working still Gustovier Diamond 35 03-15-2011 12:45 PM
remote codes (ui/rc lines in sage.properties) snoopy SageTV Customizations 0 03-08-2010 04:31 PM
Questions about my files and properties files jbuszkie SageMC Custom Interface 0 05-01-2009 03:53 PM
More Upto date customisable properties list danward79 SageTV Software 0 01-02-2004 11:11 AM


All times are GMT -6. The time now is 11:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.