forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdateTime.lcdoc
More file actions
35 lines (23 loc) · 995 Bytes
/
Copy pathdateTime.lcdoc
File metadata and controls
35 lines (23 loc) · 995 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Name: dateTime
Type: keyword
Syntax: dateTime
Summary:
Used with the <sort> and <sort container> <command|commands> to sort by
date and/or time.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
sort cards dateTime by field "Last Modified Date"
Description:
Use the <dateTime> <keyword> when <sort|sorting> by a <field> or portion
of a <container> that is a date or time.
Alphabetical sorting does not take the special format of dates and times
into account. For example, a normal sort places 11:30 AM after 2:00 AM,
because 2 is greater than 1. The <dateTime> <keyword> recognizes all
<LiveCode|LiveCode's> date and time <format|formats> and <sort|sorts>
them in time order, rather than alphabetical or numeric order.
References: sort (command), sort container (command), keyword (glossary),
LiveCode (glossary), command (glossary), container (glossary),
format (glossary), sort (glossary), field (keyword), text (keyword)
Tags: math