Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 931 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 931 Bytes

class-library

A library of useful classes I am using often in different projects

License

Requirements

  • PHP >= 7.4
  • cURL Extension
  • json Extension
  • soap Extension
  • gd Extension
  • mbstring Extension
  • ctype Extension

Installation

composer require drechsler-development\class-library

Just install the package and it is ready to use!

Usage

Formats a date into german format with long year

$date = "2012-12-31";
$formattedDate = Date::FormatDateToFormat ($date, Date::DATE_FORMAT_GERMAN_DATE_LONG_YEAR); //will return 31.12.2021

Credits