- Contents
Interaction Designer Help
BufferGetDate
This Buffer tool gets a date from the binary buffer.
Inputs
Buffer Handle
The buffer handle that contains the date.
Offset
An integer of the offset in the buffer. Offsets are in bytes and 0 based.
Date Format
The format to use to add the date.
Format can be:
-
ISO8601: This selection will use the ISO 8601 format in the local time zone, e.g.: 20060801140725
-
ISO9801 UTC: This selection will use the ISO 8601 format in the UTC time zone, e.g.: 20060801130725Z
-
Custom: This selection will use a Custom Format string. This format uses the standard C function strftime (http://msdn.microsoft.com/en-us/library/fe06s4ak.aspx)
Custom Format
The custom date format to use. This field is only available if you select Custom in the Date Format field. The Expression Editor Assistant displays combinations of available categories and symbols and values.
Encoding
This parameter selects the custom encoding to be used.
-
UCS-2
-
UTF-8
-
EBCDIC
Outputs
Date
This datetime value contains the extracted DateTime.
Updated Offset
This integer contains the original offset, updated by the size of what was read. Offsets are in bytes and 0 based.
Exit Path
Success
This step takes this path on success.
Invalid Handle
This step takes this path if the buffer handle was invalid
Invalid Codepage
This step takes this path if the EBCDIC code page is not supported.
Invalid Offset
This step takes this path if the offset did not point inside the buffer.
Invalid Format
This step takes this path if date format is invalid.