please help

Dear friends

time is like this  23:23:20

Now i want to read like this
2323 means i dont want colon between hours and minutes and i should leave seconds

so at last i want 2323 from above mentioned time

i think awk will solve my problem

please unix shell script syntax

urgent

regards

rajan

echo "23:23:23" | awk -F":" '{ print $1$2 }'

thank u vino

u served my purpose

regards

rajan

one more way,

echo "23:23:20" | sed -e 's/://;s/:.*//'