$timestamp = strtotime(date('2014-10-25')); $dw = date( "w", $timestamp);// $dw will be 0 (for Sunday) through 6 (for Saturday) $days = array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); echo "today is ".$days[$dw];
today is Saturday
Best Related Posts are Following:
- Git interview questions and answers - Problem and Solutions.
- How to import csv file to database through phpmyadmin.
- How to export mysql query results to csv?.
- MySql replace NULL values with empty string without effecting Rowset.
- How to fix Headers already sent error in PHP?.
- Twitter login failed leads to Page not found.
- How to send an email using Email Template in Zend Framework.
- How do I get wordpress global variable and functions in custom file [SOLVED].
- How to store array in Cookie and retrieve array from cookie.
- Synchronous XMLHttpRequest on the main thread is deprecated.
- Send Email from Gmail SMTP using Zend Framework.
- HTML formatted email not showing up correctly in mail clients (Gmail-Outlook-Hotmail-Iphone-Android) [SOLVED].
- How to change the author of a post in Wordpress.
- How to clear Facebook image cache.
- Google trends api php - How to get hot trends.
- How can delete a user without deleting the post and comments in wordpress?.
- Using mysqli and parameterized statements in PHP with Example.
- Wordpress redirect https to http with htaccess [SOLVED].
- Advanced PHP Interview Questions and Answers.
- PHP Technical Interview Questions and Answers for Fresher and Experienced.
- Wordpress Website title repeated two times in browser header [SOLVED].
- How can I prevent SQL-injection in PHP [SOLVED].
- Htaccess RewriteRule Flags by Code Example.
- Multiple column ordering in Zend Framework.
- Strtolower - Returns string with all alphabetic characters converted to lowercase.
- Enabling the openssl in Wamp-Xampp.
- How do I get a YouTube video thumbnail from the YouTube.
- How to find day of week in php in a specific timezone.
- Download Videos from Amazon S3 - PHP.
- Paypal Sandbox do-Directpayment, Authorization, Capture and Mass-payment - Example with Code Snippets.
- Image not displaying uploaded by CKeditor.
- Parse XML in PHP By example [Solved].
- jQuery multi column sorting with jQuery - Live Demo.
- How to Select / Deselect All Checkboxes using jQuery.