getPurchaseTimeFormatted

Gets the purchase time as a formatted date string.

Return

The formatted date string.

Parameters

pattern

The date format pattern (e.g., "yyyy-MM-dd HH:mm:ss").


Gets the purchase time as a formatted date string in default format.