Hi guys! I have a problem with the function and the time I got when I generate the “date” with this:
app.all(
/${process.env.INFORMADOLAR}
, function(req, res)
{
var today = new Date();
var date = today.getUTCDate()+‘-’+(today.getUTCMonth()+1)+‘-’+today.getUTCFullYear();
var time = today.getUTCHours().toLocaleString(‘es-AR’, { timeZone: ‘America/Argentina/Buenos_Aires’ }) + “:” + today.getUTCMinutes().toLocaleString(‘es-AR’, { timeZone: ‘America/Argentina/Buenos_Aires’ });
var dateTime = date+’ '+time;
getDolarBNA((dolarBNA) => getCCL((dolarccl) => getBlueCronista((blueCron) => getDolarMEP((mep) =>
{var status =
//
📅
+dateTime +
When I want to get the Argentine hour (now 14:08) but when I execute it I got: +3 hours
For example 17:08
What I did wrong??