I need a regular expression code to display the date given in CCYYMMDD format < P> [0-9] [0-9] [0-9] [0-9] [0-1] [0-9] [0-3] [0-9] "< / Code> If you know that this is limited to the near future, then you can set the first digit in 2, maybe second to 0, the third Like one and the same. -9] [0-1] [0- 9] [0-3] [0-9] " To display a given date, I have no meaning Date of unix? But this is not a regular expression. Hm. Well - it is, Like. :)
"div class =" post-text "itemprop = "Text">
date +% Y% m% d 20110317
Comments
Post a Comment