Packages

An embedded lisp interpreter based on the gleam implementation of MAL lisp.

Current section

Files

Jump to
kirala_l4u src l4u_bif_datetime_ffi.mjs
Raw

src/l4u_bif_datetime_ffi.mjs

export function start() {
}
export function epoch() {
return Date.now();
}
export function datetime_format(epoch, format) {
return new Date(epoch).toLocaleString();
}
export function datetime_parse(str, format) {
return Date.parse(str);
}