krappleby025
Programmer
Hi can someone help me to do two things,
Firstly i have a timestamp in the following form
20021016005150
i need to split it into the following
Year = 2002
Month = 10
Date = 16
time = 005150
Now, any variable name will do, However the second part, i need is to add 1 month to it, and resave it to the database, in the same format...
so can someone please help, by providing the code, for that... just so i start with a variable datestamp of
20021016005150
and end up with a variable of
20021116005150
which i can then upload to the database
thanks
Firstly i have a timestamp in the following form
20021016005150
i need to split it into the following
Year = 2002
Month = 10
Date = 16
time = 005150
Now, any variable name will do, However the second part, i need is to add 1 month to it, and resave it to the database, in the same format...
so can someone please help, by providing the code, for that... just so i start with a variable datestamp of
20021016005150
and end up with a variable of
20021116005150
which i can then upload to the database
thanks