Fix #41: Use correct SQL datetime format for tokens