此方法返回当前系统日期。
date()
当前日期作为列表返回。
-module(helloLearnfk). -export([start/0]). start() -> io:fwrite("~p~n",[date()]).
当我们运行上面的程序时,我们将得到以下输出,日期值取决于当前系统日期,一个如下-
链接:https://www.learnfk.comhttps://www.learnfk.com/erlang/erlang-date.html
来源:LearnFk无涯教程网
{2016,4,17}
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)
Spring Boot与Kubernetes云原生微服务实践 -〔杨波〕
Tony Bai · Go语言第一课 -〔Tony Bai〕
Python实战 · 从0到1搭建直播视频平台 -〔Barry〕