getTimestamp static method
获取当前时间戳
Implementation
static int getTimestamp() {
DateTime now = DateTime.now();
return now.millisecondsSinceEpoch;
}
获取当前时间戳
static int getTimestamp() {
DateTime now = DateTime.now();
return now.millisecondsSinceEpoch;
}