Display formats
A date display format can have two sections. The first section is required. The second section is optional and specifies how to represent NULLs.
date-format;null-format
The following table shows characters that have special meaning in date display formats.
Colons, slashes, and spaces display as entered in the mask.
If users specify a two-digit year in a DataWindow object, PocketBuilder assumes the date is the 20th century if the year is greater than or equal to 50. If the year is less than 50, PocketBuilder assumes the 21st century.
For example:
1/1/85 is interpreted as January 1, 1985
1/1/40 is interpreted as January 1, 2040
The following table shows how the date Friday, Jan. 30, 2003, displays when different format masks are applied.
Format |
Displays |
---|---|
|
|
|
|
|
|
|
|
|
|
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |