(format-date date-obj)
(format-date date-obj format-str)
Formats a given date/time object with an optional format string. If no format is provided, uses ISO_LOCAL_DATE_TIME as default. Supported date/time objects: LocalDateTime, ZonedDateTime, Instant, java.util.Date
Formats a given date/time object with an optional format string. If no format is provided, uses ISO_LOCAL_DATE_TIME as default. Supported date/time objects: LocalDateTime, ZonedDateTime, Instant, java.util.Date
(formatted-prefix datetime & [format-str])
Formats a given date/time object with an optional format string. Defaults to ISO format if no format string is provided.
Formats a given date/time object with an optional format string. Defaults to ISO format if no format string is provided.
(random-hour)
(random-hour period)
Generates a random time with optional period (AM or PM, default is AM).
Generates a random time with optional period (AM or PM, default is AM).
(random-month-name)
(random-month-name language)
Generates a random month name in the specified language. Supported languages: :ar, :de, :en, :es, :fr, :tr. Defaults to :en (English) if no language is specified.
Generates a random month name in the specified language. Supported languages: :ar, :de, :en, :es, :fr, :tr. Defaults to :en (English) if no language is specified.
(random-weekday-name)
(random-weekday-name language)
Generates a random weekday name in the specified language. Supported languages: :ar, :de, :en, :es, :fr, :tr. Defaults to :en (English) if no language is specified.
Generates a random weekday name in the specified language. Supported languages: :ar, :de, :en, :es, :fr, :tr. Defaults to :en (English) if no language is specified.
(random-year)
(random-year start-year end-year)
Generates a random year between start-year and end-year.
Generates a random year between start-year and end-year.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close