---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Workday Extend]
keyword: [Extend, Orchestration Builder, Orchestrate, Orchestration]
nav: wcp_docs
parent_url: /wcp_docs/
title: >- 
  Reference: LocalTime Member Functions
layout: subsection
---

<a id="section_N10022_N1001F_N10001"></a>
<b>Instance Type: LocalTime</b>

<table><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td>format</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>String
</li></ul> Returns the local time formatted in the pattern HH:mm:ss.</td></tr><tr><td>format</td><td>Arguments: <ul><li>Pattern (String)
</li></ul> <p>Return Type:</p><ul><li>String
</li></ul> Returns the time formatted according to the specified pattern.</td></tr><tr><td>isAfter</td><td>Arguments: <ul><li>other (LocalTime)
</li></ul> <p>Return Type:</p><ul><li>Boolean
</li></ul> Returns true if this LocalTime value is later than the specified time.</td></tr><tr><td>isBefore</td><td>Arguments: <ul><li>other (LocalTime)
</li></ul> <p>Return Type:</p><ul><li>Boolean
</li></ul> Returns true if this LocalTime value is earlier than the specified time.</td></tr><tr><td>isEqual</td><td>Arguments: <ul><li>other (LocalTime)
</li></ul> <p>Return Type:</p><ul><li>Boolean
</li></ul> Returns true if this LocalTime value is the same as the specified time.</td></tr><tr><td>toString</td><td>Arguments: <ul><li>None
</li></ul> <p>Return Type:</p><ul><li>String
</li></ul> Returns the time value as a string in one of these ISO-8601 formats: <ul><li>HH:mm
</li><li>HH:mm:ss
</li><li>HH:mm:ss.SSS
</li><li>HH:mm:ss.SSSSSS
</li><li>HH:mm:ss.SSSSSSSSS
</li></ul> The format used is the shortest that outputs the full value of the time, omitting trailing zeroes.</td></tr></tbody></table><br/>

