Answer the question
In order to leave comments, you need to log in
How, when displaying information (previously unloaded from MySQL), to determine that the output value is a DATE?
So: there is a class that serves to display the organization's Debtor cards:
class Commun extends \vayEngine implements \grammar\Grammar_Module {
// There is a function that catches the data already loaded into arrays from the database for a specific Debtor
public static function simpleDraw ( $input, $ choose, $title = "Table" ) {
// this is how the output happens, where $choose specifies the list of rows to be output
for ( $m = 0; $m < count ($choose); $m++) {
echo " {$input->{$choose[$m]}}";
}
Here the problem appears, there are some dates: in the form of MYSQL 2017-10-16 for example.
How to identify and process them through the DateTime class?
Answer the question
In order to leave comments, you need to log in
Of these two ASUS for a disk, hybrids are certainly good, but I would not count on it for a long time.
Operatives in both cases are not enough for you.
Why don't you want a PC? It would have been cheaper.
use strtotime php.net/manual/en/function.strtotime.php
It returns a number or false
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question