getTimeAndDate(String, String) method

Returns the specified property as a date string using the given format, specified as an Agentry date format string (not a Java date format string!).

Syntax

public String getTimeAndDate ( String property , String format )

Parameters

Returns

The property value as a formatted string.

Usage

If you prefer to use Java date format strings, then just call getTimeAndDate(String) to get a Calendar object and feed it to a SimpleDateFormat object.