#!/usr/bin/perl
use Class::Date qw(date);
$unixtime = date("2002-03-03 10:06:54")->epoch;
print $unixtime ."\n";
$unixtime = date("2002-03-03 10:06");
print $unixtime ."\n";

相关文章:

  • 2022-12-23
  • 2021-10-02
  • 2022-12-23
  • 2022-01-01
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-01-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2022-01-01
  • 2022-12-23
相关资源
相似解决方案