---
schema_version: "1"
id: 1a03c5b97d4b93531cb1e637466230f158b747bf11a4dba325f0b881a46ab8f1
title: Field Service | Get Current Time for Field Service
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_ref_fieldservice_get_current_time.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_fieldservice_get_current_time.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: af1c9f0f9fc95d845574d2517f67d5f5e79189271538cc45b323c5bfa3b533f8
description: Gets the current time according to the time zone. The time zone is taken from the operating hours that are associated with the service appointment’s service territory.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Field Service | Get Current Time for Field Service

Gets the current time according to the time zone. The time zone is taken from the operating hours that are associated with the service appointment’s service territory.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with Field Service and Foundations. Also available with <strong>Einstein 1 Field Service</strong> Edition or <strong>Agentforce 1 Field Service</strong> Edition.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="text-align:center;vertical-align:top;" id="d107560e77">User Permissions Needed</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d107560e80">&nbsp;</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d107560e77 d107560e80 ">See <a href="https://help.salesforce.com/s/articleView?id=ai.agent_actions_common_perms.htm&amp;type=5&amp;language=en_US" target="_blank">Common User Access for Standard Agent
              Actions</a>.</td>

        </tr>
      </tbody>
    </table>

## Action Details

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col style="width:50%"> <col style="width:50%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">API Name</td><td class="slds-cell-wrap" style="vertical-align:top;">GetCurrentTimeForFieldService</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action Type</td><td class="slds-cell-wrap" style="vertical-align:top;">Flow</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action</td><td class="slds-cell-wrap" style="vertical-align:top;">Field Service: Get Current Time</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Does this action execute one or more prompt templates?</td><td class="slds-cell-wrap" style="vertical-align:top;">No</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Required Setup</td><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.fs_einstein_agentforce_scheduling_setup.htm&amp;type=5&amp;language=en_US" target="_blank">Set Up Autonomous Scheduling</a></td></tr></tbody></table>

## Guidelines and Considerations

See [Considerations for Autonomous Scheduling for Field Service](https://help.salesforce.com/s/articleView?id=service.fs_einstein_agentforce_scheduling_considerations.htm&type=5&language=en_US).