Question: Write a program that takes command line input on a console written as a single string of characters representing a date - time group. The
Write a program that takes command line input on a console written as a single string of
characters representing a datetime group. The program should accept the following format:
YYYYMMDDTHHMMSS YearMonthDayTHourMinuteSecond For example, the
following represents January at PM: T
After reading the input string, the program should use the input value to create a JavaScript Date
object and print it out as is commonly used in the United States, such as:
January at PM
The program should run in a loop, accept the input value and print the output. The solution should
include extensive Jasmine test cases, particularly for edge cases described in Section USE JAVASCRIPT.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
