---
schema_version: "1"
id: e5b7e7871877b94552f505298a176a63fa2dadba6ebe4d9301e5e40822f8a58e
title: SystemDateToLocalDate
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/ampscript/references/date-time/mc-ampscript-reference-date-time-system-date-to-local-date.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-system-date-to-local-date.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f1241dd4612d31b9c069d4f207f53b1e9e92a0c4eb58549c98baf89fe59cd1fb
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# SystemDateToLocalDate

Converts a system datetime string to the local time of the current Marketing Cloud Engagement user.

The system time is North American Central Standard Time (UTC-6) without adjustments for daylight saving time. The local time is the time of your Marketing Cloud Engagement user account, which can be configured in Setup.

## Availability

<table>
  <tr>
    <td>Marketing Cloud Engagement</td>
    <td>✅ Yes</td>
  </tr>
  <tr>
    <td>Marketing Cloud Next</td>
    <td>❌ No</td>
  </tr>
</table>

## Syntax

```
SystemDateToLocalDate(systemTime)
```

The `SystemDateToLocalDate()` function has one parameter:

- `systemTime` (string): Required. The system time value that you want to convert to local time.

## Usage

To use this function, pass it your current system time.

```
%%[
  Var @currentSystemTime
  Set @currentSystemTime = Now()
]%%
Local Time For User:  %%=SystemDateToLocalDate(@currentSystemTime)=%%
```

The system returns the local time based on the value contained in the @currentSystemTime variable.
