Skip to content

mokshsinghji/german-day-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

German Day Finder

Gets the day in German

Usage:

Import in html file

<head>
  <script src="https://raw.githubusercontent.com/mokshsinghji/german-day-finder/main/index.js"></script>
</head>

Get German days:

germanDayFinder.germanDays // [ "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" ]

Get today as a string in German

getTodayInGerman() // "Montag"

Get the month as a string with padding

getMonthAsStringWithPadding() // "02"

Get the last 2 digits of the year number as a string

getYearAsString() // "21"

About

Gets the day in German

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published