Reputation: 66500
I want to speak to a soap service that has a date parameter which is required to be the CCYYMMDD
format.
What is its definition?
Upvotes: 43
Views: 154816
Reputation: 1
if you key in the date 4000-01-01
it follows mask CCYYMMDD
but not mask YYYYMMDD
you cannot use the if #date
ne mask (CCYYMMDD
) or (YYYYMMDD
) interchangeably.
Upvotes: 0
Reputation: 11098
CC means Century (Century 0 is the 1st Century)
YY means Year
MM means Month
DD means Day
So for current date: 29/10/2015
CC : 20
YY : 15
MM : 10
DD : 29
Upvotes: 13
Reputation: 6826
It's just another way of writing yyyyMMdd
.
The CC
part represents the century, while YY
is the two-digit year.
Upvotes: 53
Reputation: 66500
It means yyyyMMdd, as in year (4 digits), month (2 digits, leading zero) and day (2 digits, leading zero).
So the ISO 8601 date 2014-01-05
is represented as CCYYMMDD as 20140105
.
Upvotes: 29
Reputation: 107
We are in century 21; not century 20. But they mean to write the year in a 4 digit format, so technically is yyyy. So technically ccyy is wrong. So if you are born in 1990, using the ccyy format is 2090, since 1990 is in the 20th century. But if you have to write a year, you have to assume that they are asking for yyyy, not ccyy. So for example, if you are born in 1990, and they ask you in ccyy, do not write 2090 (although technically is correct) instead write 1990. Assume they want the year in 4 digit format, not the century and 2 digit format year.
Upvotes: 9
Reputation: 97
CC in CCYYMMDD date format indicates how many centuries are finished for particular year
ex.
So CCYY is equal to YYYY but in another way of writing
Upvotes: 7