Beta
Return TIMESTAMP from date
49drogimex
Description:
** Input: date in format: **
Day: one or two digits
Month: one or two digits
Year: four digits
Hours, Minutes, Seconds, Milliseconds: 0
** Output: timestamp (in seconds!) if date is correct or "Invalid date" **
** Example: **
date: 15-06-2014 -> timestamp [s]: 1402790400
date: 35.03.2015 -> "Invalid date"
Have fun :)
Fundamentals
Date Time
Regular Expressions
Similar Kata:
Stats:
Created | Nov 16, 2016 |
Published | Dec 13, 2016 |
Warriors Trained | 185 |
Total Skips | 27 |
Total Code Submissions | 408 |
Total Times Completed | 49 |
JavaScript Completions | 49 |
Total Stars | 3 |
% of votes with a positive feedback rating | 74% of 25 |
Total "Very Satisfied" Votes | 15 |
Total "Somewhat Satisfied" Votes | 7 |
Total "Not Satisfied" Votes | 3 |
Total Rank Assessments | 25 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 8 kyu |