Kernel.sigil_D

You're seeing just the macro sigil_D, go back to Kernel module for more information.
Link to this macro

sigil_D(date_string, modifiers)

View Source (macro)

Handles the sigil ~D for dates.

By default, this sigil uses the built-in Calendar.ISO, which requires dates to be written in the ISO8601 format:

~D[yyyy-mm-dd]

such as:

~D[2015-01-13]

If you are using alternative calendars, any representation can be used as long as you follow the representation by a single space and the calendar name:

~D[SOME-REPRESENTATION My.Alternative.Calendar]

The lower case ~d variant does not exist as interpolation and escape characters are not useful for date sigils.

More information on dates can be found in the Date module.

Examples

iex> ~D[2015-01-13]
~D[2015-01-13]