logo
  • 教程列表
  • SO官方文檔
  • 日期和時間
    • DateTime 的基本用法
  1. StackOverflow 文件
  2. dart 教程
  3. 日期和時間
  4. DateTime 的基本用法

DateTime 的基本用法

Created: November-22, 2018

 placeholderCopyDateTime now = new DateTime.now();
DateTime berlinWallFell = new DateTime(1989, 11, 9);
DateTime moonLanding = DateTime.parse("1969-07-20 20:18:00");  // 8:18pm

你可以在此處找到更多深度資訊。

  • 日期和時間

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明