ios Date to Desktop sqlDateTime

Have a desktop app that save the modification date with the following code:

dim d as new date rs.Field("mod_time").StringValue = d.SQLDatetime

For an IOS app how do you save a sqlDateTime?

These need to be compatible as the DB will be copied from and to the desk top and ios device.

For iOS that’d be: Date.Now.ToText

Thanks.