Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

136
Views
How to converts the createdAt date from AWS to the day of the week

I am trying to extract the day of the week from the AWS createdAt date format.

For example, given this date format: 2021-10-20T17:05:26.758Z find the day of the week (ie. Wednesday, Monday...)

I am working in Javascript and I am using AWS Amplify and Dynamo DB.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

This date 2021-10-20T17:05:26.758Z is a valid ISO 8601 date format, so you can use Date() and toLocaleDateString() to get day name:

const dayName = new Date('2021-10-20T17:05:26.758Z').toLocaleDateString('en-US', { weekday: 'long' });

console.log(dayName);

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!