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

89
Views
Data Ranges Preview

I'm currently having trouble with this part, can someone give me a hand? For example, the date today is April 11, 2022
If I choose;

  • Last Week - Data Range Preview should highlight April 4 to 9
  • Yesterday - Data Range Preview should highlight April 10
  • Today - Data Range Preview should highlight April 11
  • This week - Data Range Preview should highlight April 11 to 16
    [Admin_LastWeek]: [moment().subtract(1, 'week').startOf('isoWeek'), moment().add(-1, 'week')],
    [Admin_Yesterday]:[moment().add(-1, 'day'), moment().add(-2, 'day')],
    [Admin_Today]:    [moment(), moment().subtract(1, 'day')],
    [Admin_ThisWeek]: [moment().add(0, 'weeks').startOf('isoWeek')],

Thank you!

about 4 years ago · Santiago Trujillo
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!