Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating Date.now() and formatting it #242

Open
johnsonjoseph37 opened this issue Apr 10, 2024 · 0 comments
Open

Generating Date.now() and formatting it #242

johnsonjoseph37 opened this issue Apr 10, 2024 · 0 comments

Comments

@johnsonjoseph37
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant