Take notes on the command line: Difference between revisions

Content added Content deleted
m (→‎{{header|Wren}}: Minor tidy)
Line 3,431: Line 3,431:
An awkward task for Wren-cli which currently has no way of determining the current date and time.
An awkward task for Wren-cli which currently has no way of determining the current date and time.
We therefore have to ask the user to input it plus the note(s).
We therefore have to ask the user to input it plus the note(s).
<syntaxhighlight lang="ecmascript">import "os" for Process
<syntaxhighlight lang="wren">import "os" for Process
import "/ioutil" for File, FileUtil
import "./ioutil" for File, FileUtil
import "/date" for Date
import "./date" for Date


var dateFormatIn = "yyyy|-|mm|-|dd|+|hh|:|MM"
var dateFormatIn = "yyyy|-|mm|-|dd|+|hh|:|MM"