[_DateTime] If not blank (DB Field Attribute)

Has no parameters.

Description:

Format a DB Field into a time stamp containing both the date, and time. Format will be YYYY-MM-DD HH:MM:SS. If the field is blank it will remain blank. HH is stored as 24 hour clock. Input however may be a 12 hour clock ending in AM or PM and it will be converted to the 24 hour clock on save.

Example:

[_DateTime]