Precision property

Official Content
This documentation is valid for:
Determines the precision of a DateTime field. Specifically, whether the DateTime field supports handling Milliseconds.

Values

Milliseconds Handles milliseconds precision (0 to 999).
Seconds Maximum precision is seconds; it does not handle milliseconds (default value).

Scope

Generators: Android, Apple, Java, .NET, .NET Core
Level: Attribute, Domain

Description

When Precision is set to Milliseconds, then the DateTime data type field supports storing and displaying the DateTime with higher precision than just 1 second; it then supports fractions of seconds like 3.5 seconds (three and a half seconds), 10.250 seconds (ten seconds with 250 milliseconds) or 5.005 seconds (5 seconds with 5 milliseconds). Such a field is often also called a Timestamp.

Run-time/Design-time

This property applies only at design-time.

How to apply changes

To apply the corresponding changes when the property value is configured, execute a Build All.

Availability

This property is available since GeneXus 15 Upgrade 11.

See Also

Hour format property