Bellow script is the best way for you:
$source = '2011-07-21';
$date = new DateTime($source);
echo $date->format('d.m.Y'); // 21.07.2011
echo $date->format('d-m-Y'); // 21-07-2011
With EasierTeamworks you will be always able to access up-to-date projects data: tracking progress, forthcoming deadlines, worklogs and costs will be much easier. EasierTeamworks is a project management solution that minimizes the effort of administrative tasks and lets you focus on what’s really important for your company to grow. EasierTeamworks makes your data easier to collect and tracking task progress will become easier too.
The Dashboard gives a quick over-view of all your projects. Teamwork.com shows everything you need to know at a glance, keeping you up to date with recent activity on all projects.
You want to hide/show the div when i click on the close icon.
The bellow script will help you:
To hide this div:
“My website was hacked. How do I fix or repair it?”
1. Change all FTP passwords, email passwords and passwords for any administrative portion of your web site.
It is possible your password has been comprised or stolen from your computer. After changing your FTP password it is important that you do not save your password within your FTP software, web design software, or in email. In other words, write down your password on paper and do not save in your software (at least for the next couple of months).
- If possible use FTPS from now on (if possible).
- Set up SSL for any administrative pages on your web site.
A great percentage of hacked web sites are compromised due to clients not using encryption. And it is also possible your computer may have a virus which monitors keystrokes typed directly into your computer or sniffs passwords as they pass through your network or computer. Network sniffing can be avoided by using FTPS and will help prevent easy access to your passwords.