Home Explore Blog CI



nushell

commands/docs/date_format.md
884075b2524056f4002d954b0f106664bf8ef6a03777bee500000003000002fd
---
title: date format
categories: |
  removed
version: 0.104.0
removed: |
  Removed command: use `format date` instead.
usage: |
  Removed command: use `format date` instead.
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->

# `date format` for [removed](/commands/categories/removed.md)

<div class='command-title'>Removed command: use `format date` instead.</div>

## Signature

```> date format {flags} (format string)```

## Flags

 -  `--list, -l`: lists strftime cheatsheet

## Parameters

 -  `format string`: The desired date format.


## Input/output types:

| input    | output |
| -------- | ------ |
| datetime | string |
| string   | string |

Chunks
3632c734 (1st chunk of `commands/docs/date_format.md`)
Title: Deprecation of `date format` Command
Summary
The `date format` command has been removed in version 0.104.0 and replaced by the `format date` command. The old command's functionality included formatting a datetime object or string into a specified format, with an option to list a strftime cheatsheet.