Issue sending date converted to timestamp to Xano [Resolved]

I’m trying to update a record in Xano with a date selected by a user. The Xano field is a timestamp (originally a date field, but that’s technically a text record in Xano, so timestamp should be easier).

The problem is that using the timestamp function on the date input results in the timestamp of the current day, rather than the date input value.

I looked at this WeWeb community post, but it looks like “dob” field that with inputted date of June 4 was created in Xano as Oct. 12, the time created. It looks like there was not conversion there, either, just the timestamp of the current date.

Any ideas why this is happening?

Well spotted! :slight_smile:

The timestamp function returns only the current date as a timestamp.

To correct conversion is a formula with a bit of javascript:


image

2 Likes

That worked - thank you @dorilama !

1 Like