Click or drag to resize

SecurIdV3TokenConvertToV3TokenDate Method

Converts a DateTime instance to a SecurID® Version 3 date value.

Namespace:  SamoyedSoftware.ursa
Assembly:  SamoyedSoftware.ursa (in SamoyedSoftware.ursa.dll) Version: 0.2.0
Syntax
protected byte[] ConvertToV3TokenDate(
	DateTime time
)

Parameters

time
Type: SystemDateTime
The DateTime instance to be converted.

Return Value

Type: Byte
An array of five bytes representing a date/time in the SecurID® Version 3 date format. See remarks section for details.
Remarks
In Version 3 tokens, the date is a count of "v3 ticks" since 1970-01-01. There are 337500 v3 ticks per day, or 3.90625 v3 ticks per second. The number of v3 ticks is stored as a 40-bit value (five bytes, big-endian order).
See Also