focus expression text field at startup -> version 1.2
[LeanCalc.git] / help / ctime
1 NAME
2     ctime - current local time
3
4 SYNOPSIS
5     ctime()
6
7 TYPES
8     return      string
9
10 DESCRIPTION
11    The ctime() builtin returns the string formed by the first 24
12    characters returned by the C library function, ctime(): E.g.
13
14         "Mon Oct 28 00:47:00 1996"
15
16    The 25th ctime() character, '\n' is removed.
17
18 EXAMPLE
19     > printf("The time is now %s.\n", ctime())
20     The time is now Mon Apr 15 12:41:44 1996.
21
22 LIMITS
23     none
24
25 LINK LIBRARY
26     none
27
28 SEE ALSO
29     runtime, time
30