Documents
NextGrid & NextDBGrid
- FieldChooser Tutorial
- NextGrid How To
- InputLine Tutorial
- Html Column Tutorial
- NextGrid Slide Style Tutorial
- Edit events in NextGrid
NextGrid
- NextGrid Quick Start
- Graphic Column Tutorial
- Optimize NextGrid
- Custom Draw in NextGrid
- VirtualColumn Tutorial
- NextGrid Custom Sorting
- TreeColumn Tutorial
NextDBGrid
NextInspector
- NextInspector Item Types
- NextInspector Quick Start
- NextInspector Advanced tutorial
- Map VCL property to item
NextSheet
NextCollection
- NxInfoPanel Tutorial
- NxOutlookBar Tutorial
- NxPathControl and NxNotebook tutorial
- NxPathControl Quick Start
- NxButton Tutorial
- NxFlipPanel and NxHeaderPanel Quick Start
- NxPageControl and NxNotebook Quick Start
Misc
- DateTime FormatMask
- NxComboBox styles
- NxPreview Quick Start
- Numeric FormatMask
- Enable typing unicode characters in InplaceEditors
- 32bit Bitmaps Tutorial
Labs
DateTime FormatMask
Related Articles:
Info
- Skill:
- Version: 1.0.0
- Authod: Bojan Nikolic
- Created: 2008-04-29
- Updated: 2008-04-29
Since we ofter have requeststs abot this functions, please read bellow for full examples about using this property.
Example:
FormatMask := 'm.d.yyyy'
Example:
Edit1.Text := FormatDateTime('m.d.yyyy', Now);
| Rule | Example | Description |
|---|---|---|
| m | 5 | month 1 - 12 |
| mm | 05 | month 01 - 12 |
| mmm | Apr | short month name |
| mmmm | May | full month name |
| d | 9 | day 1 - 31 |
| dd | 09 | day 01 - 31 |
| ddd | Thu | short day name |
| dddd | Monday | full day name |
| y, yy | 08 | last two diggits of year |
| yyy, yyyy | 08 | full year number |
| h | 7 | Hour number |
| hh | 07 | Hour number |