Versions Compared

Key

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

...

Code Block
languagebp
// Create an OI datetime
DateDatetime = SRP_DateTime("Encode", 2020, 1, 14, 3, 7, 43)

// Format a datetime using the default format and the current locale
Text = SRP_DateTime("Format", Datetime)

// Format a datetime using the long format and the current locale
Text = SRP_DateTime("Format", Datetime, "Long")

// Format a datetime using the long format and the Spanish language
Text = SRP_DateTime("Format", Datetime, "Long", "es")

// Format a datetime using a custom format and the Spanish-MEXICAN language
Text = SRP_DateTime("Format", Datetime, "MMMM D, YYYY 'at' h:mm:ss tt", "es-MX")

...