This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1AvK4w8mQXG3hbf7g6sPPa9TmCKA1MAUgh https://explorer.blockstack.org/address/1AvK4w8mQXG3hbf7g6sPPa9TmCKA1MAUgh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
DateTime time = new DateTime.now(); | |
print("Time: $time"); | |
print("Time Zone: ${time.timeZoneName}"); | |
print("UTC Time: ${time.toUtc()}"); | |
print("Year: ${time.year}"); | |
print("Month: ${time.month}"); | |
print("Day: ${time.day}"); | |
print("Hour: ${time.hour}"); | |
print("Minute: ${time.minute}"); |