### DTSToTimeField (DateTimeString)

Basic and Crystal syntax.

##### Arguments

DTSToTimeField is a string including a Date and a Time value.

##### Returns

Time value

##### Action

Evaluates the string specified and returns a Time data type.

##### Examples

`DTSToTimeField ("2000/01/13 11:30:15")`

Returns the Time value, 11:30:15 am. The month must be entered as 01 rather than just 1.

##### Comments

For new formulas, use the CTime or TimeValue functions instead of DTSToTimeField. The CTime and TimeValue functions are able to convert more types of strings.

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