VB's time functions
Hi,
I am developing a custom page and I want to display the time when a thread was created. The creation time is available in the field "dateline" from table "thread". I could very easily read the time & display it, but I want to format it nicely, the way VB is doing it. Time formatted by VB may look like this:
"Yesterday at 3:44 pm."
What VB functions do I need to use to properly format the time ?
Regards,
Razvan M.
|