Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.36 KB

time.md

File metadata and controls

42 lines (31 loc) · 1.36 KB

Category: Time

⬅️ Back to previous page

TOC

Modules

date

now

  • Usage: l.now
  • Description: Print the timestamp of the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC).
  • Since: 0.1.0
  • Bash: 4.0+
  • Notice: When run under Bash 4.0~4.4 and Alpine/Busybox systems, perl 5+ is required. Most Unix/Linux operating systems have included Perl 5. See the Perl Binaries.
  • Test Cases: tests/modules/now.bats
  • Source Code: src/modules/now.bash

now_s

  • Usage: l.now_s
  • Description: Print the timestamp of the number of seconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC).
  • Dependent: date
  • Since: 0.1.0
  • Bash: 4.2+
  • Test Cases: tests/modules/now_s.bats
  • Source Code: src/modules/now_s.bash

⬆️ Back up to TOC