This function finds the day of the week, given a date. For example, given the date ‘2024-10-07’, it will return a JSON: {'weekday': 'Monday'}
{'weekday': 'Monday'}
curl --location --request GET 'https://tools.gptchatbot.it/weekday?date=2024-10-10' \ --header 'Authorization: Bearer <token>' \ --data-raw ''
{ "weekday": "Thursday" }
{ "type": "object", "properties": { "date": { "type": "string", "description": "The date in ISO 8601 format. For example, 2022-06-15 (June 15, 2022)." } }, "required": ["date"] }
Include default metadata: False