StringToDate

Overview

Parses a datetime string with the user's current settings and returns a .NET datetime object.

Syntax

StringToDate(1, 2)

Function Properties

Ordinal Type Description
1 string Required String to parse
2 string Required Character set used for encoding. This function defaults to UTC-8 if not specified. You can also specify UTC-16.

Usage

StringToDate('2009-10-31 08:00 AM')

System returns a datetime object with a value of 8am on October 31st, 2009.

Last Updated: Jun 8, 2021