Formatting date time in data grid

What I’m trying to do:
I have a data grid that is populated by a data table from a server side query. Two of the fields are date time type. What is the best way to change the date time format from the default? Should I be using a different query, re-formatting it on the server side or changing something on the client side?

What I’ve tried and what’s not working:

Code Sample:

@anvil.server.callable
def get_inbound_list():
  inbound_list=app_tables.inbounds.search()
  return(inbound_list)

Clone link:

share a copy of your app

This might be a good place to start:

Found via Anvil’s Search feature (the magnifying glass at the top of this page).

Yes, you can search for these things yourself, no waiting!

2 Likes