web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error Formato Fecha Ex...
Power Apps
Suggested Answer

Error Formato Fecha Excel a Power Apps

(0) ShareShare
ReportReport
Posted on by 2
Buen día, estoy usando Power Apps para crear una app integrada con un archivo de excel, sin embargo estoy teniendo problemas con la fecha. Tengo un error RFC 3339.
 
Inicialmente tengo una variable que busca un identificador especifico en mi archivo excel trayendo un registro, apartir de esto creo una coleccion con  ciertos datos. El aplicativo es para registrar las fechas de ingreso y salida en la app y esto se va guardando en el excel. Sin embargo, con la función Now(), en la colección se guarda bien la fecha y hora pero en el excel la gurda con UTC y queda 5 horas después, no he podido arreglar este error, y por otro lado cuando consulto las fechas ingresadas me sale ese error RFC 3339.
 
He intentado con DateTimeValue, DateTime, pero no convierte esta fecha, ademas me sale que el valor "46099.6542", parece que el excel convierte la fecha a ese numero, pero no se como convertir este valor.
 
Agradezco de la colaboración o ayuda para resolver este problema.
 
 
Good morning,
I’m using Power Apps to create an app integrated with an Excel file, but I’m having issues with the date. I’m getting an RFC 3339 error.

First, I have a variable that searches for a specific identifier in my Excel file and retrieves a record; from there, I create a collection with certain data. The app is designed to record check-in and check-out dates, which are then saved to Excel. However, when using the Now() function, the date and time are saved correctly in the collection, but Excel saves them in UTC, resulting in a 5-hour time difference. I haven’t been able to fix this issue, and when I check the entered dates, I get the RFC 3339 error.

I’ve tried using DateTimeValue and DateTime, but they don’t convert this date. Additionally, I get the value “46099.6542”—it seems Excel converts the date to that number, but I don’t know how to convert this value.

I’d appreciate any collaboration or help in resolving this issue.
 
 
 
 
FECHA EXCEL.png
ERROR POWER APPS RFC 3399 - FECHA.png
Categories:
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    395 on at
    Reasons of Issues :
    • Excel stores dates in UTC + serial format
    • Power Apps uses local time
    • RFC 3339 error = wrong date format
    Solution:
    • Convert to UTC before saving
    • Use ISO format (yyyy-mm-ddThh:mm:ssZ)
    • Convert back to local when displaying
    • Handle Excel serial numbers using DateAdd
    Format Date properly before saving
    Use:
    Text(
        DateAdd(Now(), -TimeZoneOffset(Now()), Minutes),
        "yyyy-mm-ddThh:mm:ssZ"
    )
  • MO-18031452-0 Profile Picture
    2 on at
    Hello,

    Thank you for your help. However, I can't format the date because the “INGRESO S-1” field is of type DateTime. Are there any other options for both sending and retrieving the date?

    I've attached a screenshot of the error.
     
     
    ERROR DATETIME.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 509 Most Valuable Professional

#2
Haque Profile Picture

Haque 302

#3
11manish Profile Picture

11manish 265

Last 30 days Overall leaderboard