-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9fe5684
commit d252e25
Showing
5 changed files
with
260 additions
and
127 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// YouTube channel - https://www.youtube.com/@flutterflowexpert | ||
// paid video - https://www.youtube.com/watch?v=idXHYU0co5Y | ||
// Join the Klaturov army - https://www.youtube.com/@flutterflowexpert/join | ||
// Support my work - https://github.com/sponsors/bulgariamitko | ||
// Website - https://bulgariamitko.github.io/flutterflowtutorials/ | ||
// You can book me as FF mentor - https://calendly.com/bulgaria_mitko | ||
// GitHub repo - https://github.com/bulgariamitko/flutterflowtutorials | ||
// Discord channel - https://discord.gg/G69hSUqEeU | ||
|
||
DateTime convertTimestampIntoDateTime(String timestampDate) { | ||
/// MODIFY CODE ONLY BELOW THIS LINE | ||
// Parse the timestamp string as milliseconds since epoch | ||
int timestamp = int.parse(timestampDate); | ||
|
||
// Convert milliseconds to DateTime object | ||
return DateTime.fromMillisecondsSinceEpoch(timestamp); | ||
|
||
/// MODIFY CODE ONLY ABOVE THIS LINE | ||
} |
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
Oops, something went wrong.