Salesforce

TStr (Magic xpi 4.14)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

TStr (Magic xpi 4.14)

Converts a time to an Alpha string, according to a picture.

Syntax:

TStr(Time time, Alpha picture)

Parameters:

time: A time to be converted.

picture: The format of the resulting character string. For a full description, see Picture Formats.

Returns:

Alpha string containing converted date.

Example:

TStr ('14:30'Time,'HH:MM PM') returns '2:30 PM'.

Note:

A blank picture converts using "HH:MM:SS".

See also:

DStr, DVal, TVal

Reference
Attachment 
Attachment