I'm not entirely sure what output you want but you're working too hard to get it.


#include <stdio.h>
#include <ctype.h>

int main(void) {

char s[]={"2013-123-00:12:11...