Change constructor from seconds to year/month/day etc