Beta
Return TIMESTAMP from date
47drogimex
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 | 179 |
Total Skips | 26 |
Total Code Submissions | 401 |
Total Times Completed | 47 |
JavaScript Completions | 47 |
Total Stars | 3 |
% of votes with a positive feedback rating | 74% of 23 |
Total "Very Satisfied" Votes | 14 |
Total "Somewhat Satisfied" Votes | 6 |
Total "Not Satisfied" Votes | 3 |
Total Rank Assessments | 23 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 8 kyu |