INTRODUCTION TO ENTREPRENEURSHIP
DEFINITION OF ENTREPRENEURSHIP
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
The best data type to choose for date of birth would be:
|
Text
|
|
Number
|
|
Currency
|
|
Date/Time
|
Explanation:
Detailed explanation-1: -LocalDate (or logically-equivalent classes likes org. joda. time. LocalDate ) is the best way to represent a date-of-birth (DOB) in Java code.
Detailed explanation-2: -In SQL, datetime date data type is used for values that contain both date and time. Microsoft defines it as a date combined with a time of day with fractional seconds that is based on a 24-hour clock.
Detailed explanation-3: -DATETIME-format: YYYY-MM-DD HH:MI:SS.
Detailed explanation-4: -The DATETIME data type stores an instant in time expressed as a calendar date and time of day. You select how precisely a DATETIME value is stored; its precision can range from a year to a fraction of a second.
There is 1 question to complete.