We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13825
    • 55 Posts
    Sure there’s a perfectly good reason for this but could someone explain to me why values like createdon and editedon are stored as INTS instead of datetime or timestamp?

    Thanks
      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: jdelight at Dec 05, 2007, 07:37 AM

      Sure there’s a perfectly good reason for this but could someone explain to me why values like createdon and editedon are stored as INTS instead of datetime or timestamp?
      Was simply a decision by the original Etomite author that is with us for legacy compatibility. This will be changing in 1.0.
        • 27376
        • 576 Posts
        Quote from: jdelight at Dec 05, 2007, 07:37 AM

        but could someone explain to me why values like createdon and editedon are stored as INTS instead of datetime or timestamp?
        It is a unix timestamp.