Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

add years to date dart

DateTime now = new DateTime.now();
DateTime tenYearsLater = DateTime(now.year + 10, now.month, now.day);
 
PREVIOUS NEXT
Tagged: #add #years #date #dart
ADD COMMENT
Topic
Name
2+1 =