Hi,
I'm trying to split the following: 2010-07-30 10:10:50
and I would like to ONLY end up with:
2010
07
30
normally with just the date, you regex with /-/
however now I would like something as simple as that but now i get
2010
07
30 10:10:50
how can i get that last part + space out?
Thank you so much!
ps, right now I need this in PHP but later on I also need to implement this in JAVA