Skip to content

Generating Date.now() and formatting it #242

@johnsonjoseph2

Description

@johnsonjoseph2

Hi there,

I'd like to send the current time as value of a header field. I do not see an option like {{date.now}}, probably because Date module of fakerjs does not have that option.

My question is how do I generate the current time as a value, and as follow-up, how do I format it in my own date format.

Thanks
Johnson

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions