would be extremely great if you could suggest a solution to this problem.
(I've already Googled but haven't come up with a satisfactory answer.)
So, when a new customer applies for a loan, we generate a loan schedule starting on the 1st of the month and save the date in UTC format in the database.
Now, when we convert the date to their timezone in the frontend, the last day of the month shows (Because of Offset Conversion)
So how do I resolve this issue ?
Should I show Date in UTC format to users ?
That should be part of the specification. Ask your boss and/or client
Ya I'll ask them. But Do you have any idea what time financial websites show their users?
it's a loan. it's dead simple. show them the date when you need your money back😂
Its not that simple timezone sucks (Because of timezone for some of the loans late fee will be applied). And now what to do on daylight saving time is also left.
Maybe ask them for their timezone and set their schedule so it matches their timezone?
then I have to run same cron job for multiple timezone's.
Обсуждают сегодня