此方法返回当前系统日期。
date - 语法
date()
date - 返回值
当前日期作为列表返回。
-module(helloLearnfk). -export([start/0]).start() -> io:fwrite("
pn",[date()]).
当我们运行上面的程序时,我们将得到以下输出,日期值取决于当前系统日期,一个如下-
{2016,4,17}
此方法返回当前系统日期。
date()
当前日期作为列表返回。
-module(helloLearnfk). -export([start/0]).start() -> io:fwrite("
pn",[date()]).
当我们运行上面的程序时,我们将得到以下输出,日期值取决于当前系统日期,一个如下-
{2016,4,17}