Share via


FiscalPrinter.GetDate Method (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets the printer's date and time.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Function GetDate As DateTime
public abstract DateTime GetDate ()
public:
virtual DateTime GetDate () abstract
public abstract DateTime GetDate ()
public abstract function GetDate () : DateTime

Remarks

The date and time are returned as a DateTime value.

GetDate may cause a PosControlException to be thrown with the following ErrorCode:

Value

Description

Illegal

The date and time cannot be retrieved currently.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

FiscalPrinter Class
FiscalPrinter Members
Microsoft.PointOfService Namespace