Author Topic: Dats v  (Read 116 times)


PHP Help Forum

Dats v
« on: May 19, 2017, 02:40:54 am »


JimL

  • Master PHP Helper
  • Senior Member
  • *
  • Posts: 1750
  • Karma: 155
  • function deleteUsers(Vector<User> $users): void {}
    • View Profile
If you just want that as a value then that's a normal string
1
 $myDate '2001-01-31';


If you want a proper date object you just do this
1
 $myDate = new \DateTime('2001-01-31');
The only place success comes before work is in the dictionary. - Vince Lombardi

I won't help if you're using mysql_* functions | You should use PDO | MariaDB | Netbeans IDE | About me

PHP Help Forum

Re: Dats v
« Reply #1 on: May 21, 2017, 02:00:55 am »