### DateTimeToTime (dateTime)

Basic and Crystal syntax.

##### Arguments

dateTime is a DateTime value.

##### Returns

Time value

##### Action

Evaluates the DateTime value specified and converts it to a Time value.

##### Examples

The following examples are applicable to both Basic and Crystal syntax:

`DateTimeToTime(#11/01/1998 11:15:00 AM#)`

Returns 11:15:00 AM.

##### Comments

For new formulas, you can use the CTime or TimeValue functions instead of DateTimeToTime when converting a DateTime value to a Time value. The CTime and TimeValue functions are more efficient since they are not UFLs.

Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com