format-date
Transform dates into custom formats using a specified pattern. Input a date string and define the desired format (e.g., '%Y-%m-%d') to structure output accurately.
Instructions
Format a date string according to the specified format
Input Schema
Name | Required | Description | Default |
---|---|---|---|
date | No | Date string to format (default: today) | |
format | Yes | Format string (e.g., '%Y-%m-%d %H:%M:%S') |
Input Schema (JSON Schema)
{
"properties": {
"date": {
"description": "Date string to format (default: today)",
"type": "string"
},
"format": {
"description": "Format string (e.g., '%Y-%m-%d %H:%M:%S')",
"type": "string"
}
},
"required": [
"format"
],
"type": "object"
}