How do you change the time stamp's output in a twitter widget?


I want to change the time stamp so instead of showing a tweet was posted 5 minutes ago it says 12:20 PM or July 31,2012 if it happened over 24 hours ago. What piece of code would I have to add or change to do this in my twitter widget? I am not using the pre-made widgets. It’s a custom one that uses this script
Thanks for the help.


woops it double posted. sorry about that. this one can be deleted.