menu
  1. Dart
  2. dart:core
  3. DateTime
  4. second property
second

second property

int get second

The second [0...59].

final moonLanding = DateTime.parse('1969-07-20 20:18:04Z');
print(moonLanding.second); // 4

Implementation

external int get second;
DateTime class

AltStyle によって変換されたページ (->オリジナル) /