Files
2026-07-13 12:47:58 +08:00

5 lines
142 B
JavaScript

// Console log current time with date-fns
import { format } from 'date-fns'
console.log(`Current time is ${format(new Date(), 'HH:mm:ss')}`)