Estoy ejecutando un excel para que en cada fila se coloque en los campos correspondientes del formulario. Pero cuando se escribe los que tienen formato fecha se escribe de manera diferente.
Por ejemplo en el excel tiene la fecha 22/07/2024 pero lo pasa en el formulario 07/22/2024 y debe ser DD/MM/AA pq en el momento de guardar la información del formulario fenera error.
Que podrá estár pasando? Pq lo escribe de manera diferente a como la tengo en el excel?
This issue occurs because of the difference in date format settings between Excel and the application where you are inputting the data. By default, Excel might store and display dates in the format configured in your system’s regional settings, which might be different from what the form expects.
Detailed Steps:
Add Excel File Activity:
Drag and drop the Use Excel File activity and select your Excel file.
Add For Each Row Activity:
Inside the Use Excel File activity, add the For Each Row in Excel activity to iterate through each row.
Get Date from Excel:
Inside the loop, use Get Row Item to get the date value.
Store the date value in a variable, e.g., excelDate.
Hola, parece que estás enfrentando un problema con el formato de fecha al leer datos desde Excel y pasarlos a un formulario. Este problema comúnmente ocurre debido a las configuraciones regionales y de formato de fecha diferentes entre Excel y la aplicación en la que estás ingresando los datos.
Aún persiste el error , pero ahora me arroja este mensaje:
System.FormatException: No se puede reconocer la cadena como valor DateTime válido. en System.DateTimeParse.ParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style) en lambda_method(Closure , ActivityContext )