sscanf
日付フォーマット「YYYY-MM-DD hh:mm:ss」をパースする
![No image](https://www.560designs.com/wp/wp-content/webpc-passthru.php?src=https://www.560designs.com/wp/wp-content/themes/mytheme2/img/articles_fig_default-514x207.png&nocache=1)
sscanf()という関数を使います。 list ( $y, $m, $d, $h, $i, $s ) = sscanf ( ‘2012-12-30 15:32:42’, ‘%d-%d-%d %d:%d:%d’ ); e […]
- 0
- 0
- 0
sscanf()という関数を使います。 list ( $y, $m, $d, $h, $i, $s ) = sscanf ( ‘2012-12-30 15:32:42’, ‘%d-%d-%d %d:%d:%d’ ); e […]