WDV141 Intro PHP

Unit 4 - PHP Functions Assignment

Create a function that will accept a date input and format it into mm/dd/yyyy format.

10/31/20

Create a function that will accept a date input and format it into dd/mm/yyyy format to use when working with international dates.

31/10/20

Create a function that will accept a string input. It will do the following things to the string:

It works!!

Character Count: 10

Trimmed String: It works!!

String Lowercase: it works!!

This String does not contain 'DMACC'

Create a function that will accept a number and display it as a formatted number. (Use 1234567890 for your testing.)

The formatted number is: 1,234,567,890

Create a function that will accept a number and display it as US currency. (Use 123456 for your testing.)

The number in US currency is: $123,456.00