Skip to main content

internet

Type

keyword

Summary

Specifies a format for the date function and the convert command.

Syntax

internet

Description

Use the internet keyword to work with dates in email headers and other dates generated by standard Internet protocols that use the same format.

The internet form of a date consists of the following parts, separated by spaces:

  • the day of the week followed by a comma
  • the day of the month
  • the three-letter abbreviation for the month name
  • the four-digit year
  • the time in 24-hour format, including seconds, delimited by colons
  • the four-digit time zone relative to UTC (Greenwich) time

An internet date looks like this: Sun, 28 Oct 2001 17:18:54 -0800

note

The internet keyword is implemented internally as a property and appears in the propertyNames. However, it cannot be used as a property in an expression, nor with the set command.

For technical information about the date format produced by the internet keyword, see RFC 2822.

Examples

put "Date:" && the internet date & return after field "Mail Header"

command: convert, set

control structure: function

function: format, propertyNames, date

glossary: keyword, property, command, protocol, error, expression

keyword: short, abbreviated

Compatibility and Support

Introduced

LiveCode 1.1

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?