set datetime as default current timestamp for flask model Try this it will work guaranteed 😀 created_on = db.Column(db.DateTime, server_default=db.func.now()) Advertisement Share this:Click to print (Opens in new window)Click to email a link to a friend (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Like this:Like Loading...