Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebp
// Parse a date using the default format and the current locale as a guide
Date = SRP_Date("FormatParse", "1/14/2020")

// Parse a date using the long format and the current locale as a guide
Date = SRP_Date("FormatParse", "Tuesday, January 14, 2020", "Long")

// Parse a date using the long format and the Spanish language as a guide
Date = SRP_Date("FormatParse", "martes, 14 de enero de 2020", "Long", "es")

// Parse  a date using a custom format and the Spanish-MEXICAN language as a guide
Date = SRP_Date("FormatParse", "enero 14, 2020", "MMMM D, YYYY", "es-MX")

...