---
name: "Date::Simple::Fmt"
section: "3pm"
platform: "linux"
package: "libdate-simple-perl"
version: "3.0300-3+b7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Date::Simple::Fmt"
---

# Date::Simple::Fmt(3pm)

Sub class of Date::Simple with per object level formatting for overloaded stringification.

## NAME

Date::Simple::Fmt - Sub class of Date::Simple with per object level formatting for overloaded stringification.

## SYNOPSIS

```
    use Date::Simple::Fmt;
```

## DESCRIPTION

This module changes the default stringification behaviour of Date::Simple objects to use the **format()** method instead. It also changes the behaviour of the constructor.

- Date::Simple::Fmt-\>new (FMT, \[ARG, ...\])

  - date\_fmt (FMT, \[ARG, ...\])

  Follows the same rules as for the equivelent method (new) and subroutine (date) in Date::Simple except that the first argument is expected to be the default format for the newly created object.  It is this format that will be used when using overloaded stringification or when not providing a format argument to the **format()** method.

## SEE ALSO

Date::Simple for full documentation.
