SplitDateTime

PowerBuilder Native Interface

IPB_Session interface:

SplitDateTime method

Description

Splits the specified pbdatetime object into a year, month, day, hour, minute, and second.

Syntax

SplitDateTime(pbdatetime dt, pbint *year, pbint *month, pbint *day, pbint *hour, pbint *minute, pbdouble *second)

Argument

Description

dt

The pbdatetime object to be split

year

A year in the range 1000 to 3000

month

A month in the range 1 to 12

day

A day in the range 1 to 31

hour

An hour in the range 0 to 23

minute

A minute in the range 0 to 59

second

A second in the range 0 to 59.999999

Return Values

PBX_RESULT. PBX_OK for success.

See Also