PHP provides several functions and classes for working with dates and times. In this article, we’ll look at the different ways to get the current date and time in PHP and discuss some additional considerations when working with time in PHP. Using the date Function The date() function is a simple and easy-to-use function for […]
Detect the Content Type in the Clipboard
A user’s clipboard is a “catch all” between the operating system and the apps employed on it. When you use a web browser, you can highlight text or right-click an image and select “Copy Image”. That made me think about how developers can detect what is in the clipboard. You can retrieve the contents of […]