appwrite/docs/examples/1.8.x/server-dotnet/examples/tables/update-datetime-column.md

520 B

using Appwrite; using Appwrite.Models; using Appwrite.Services;

Client client = new Client() .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .SetProject("<YOUR_PROJECT_ID>") // Your project ID .SetKey("<YOUR_API_KEY>"); // Your secret API key

Tables tables = new Tables(client);

ColumnDatetime result = await tables.UpdateDatetimeColumn( databaseId: "<DATABASE_ID>", tableId: "<TABLE_ID>", key: "", required: false, default: "", newKey: "" // optional );