mysql date added to constants