• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

PSA Database question (Date Format)

R

rholzler

Guest
See the following MySQL DB
Database: PSA
Table: Limits

There there are two fields "value" and "expiration" which are related to domain hosting expiration dates. The "value" looks like this:

1221624000

I am trying to create a custom report, and I need to know what format this data is using. At first I thought it was a Julian date, but it is too many digits. Is this a measure of minutes, seconds or what?

How do I convert this into a piece of meaningful data?

Additional Info: What I am trying to do is create a hosting report that shows domains that are coming up on their hosting renewal dates so I can bill them based on their hosting plan.
 
rholzler

This data format considers the value of seconds left till 1 January 1970. So, I believe you can proceed with custom report basing on this info.
 
Back
Top