Skip to content
Wakterm

    Documentation

    wakterm16 sub-pages

    Download6 sub-pages

    Configuration13 sub-pages

    Configuration Reference

    • Config Options182 sub-pages
    • module: wakterm54 sub-pages
    • module: wakterm.color10 sub-pages
    • module: wakterm.gui7 sub-pages
    • module: wakterm.mux12 sub-pages
    • module: wakterm.plugin3 sub-pages
    • module: wakterm.procinfo4 sub-pages
    • module: wakterm.serde8 sub-pages
    • module: wakterm.time4 sub-pages
    • module: wakterm.url2 sub-pages
    • enum: KeyAssignment89 sub-pages
    • enum: CopyModeAssignment33 sub-pages
    • object: Color20 sub-pages
    • object: ExecDomain
    • object: LocalProcessInfo
    • object: MuxDomain8 sub-pages
    • object: MuxWindow11 sub-pages
    • object: MuxTab13 sub-pages
    • object: PaneInformation
    • object: TabInformation
    • object: SshDomain
    • object: SpawnCommand
    • object: Time3 sub-pages
    • object: TlsDomainClient
    • object: TlsDomainServer
    • object: Pane32 sub-pages
    • object: Window29 sub-pages
    • object: WslDomain
    • events: Gui2 sub-pages
    • events: Multiplexer2 sub-pages
    • events: Window12 sub-pages

    CLI Reference12 sub-pages

    Get Help4 sub-pages

    1. Wakterm
    2. Configuration Reference
    3. object: Time

    format_utc

    On this page
    1. Time:format_utc(format)

    Time:format_utc(format)#

    Formats the time object as a string, using UTC date/time representation of the time.

    The format string supports the set of formatting placeholders described here.

    > wakterm.time.now():format_utc("%Y-%m-%d %H:%M:%S")
    "2022-07-17 18:14:15"
    > wakterm.time.now():format("%Y-%m-%d %H:%M:%S")
    "2022-07-17 11:14:15"
    

    See also Time:format().

    Edit this page
    Previousformat Nextsun_times