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

83
Views
Convert Iran standard time to date

I get the date from a user like this (1401-02-16) and when I store it in the database it is saved like this (1401-02-16T00:00:00.000+00:00) and my problem is when I show it in UI it is shown like this (Thu Feb 19 1401 03:25:44 GMT+0325 (Iran Standard Time)) How can I show only 1401-02-16??

I don't want to convert it to string and then use slice.

about 4 years ago · Juan Pablo Isaza
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!