i have tried all the above functions...but what i need is to print the current time in the undermentioned format:
Tue Jan 08 2008 22:25:22 GMT+0530 (India Standard Time)

i am able to print everything except GMT+530 using the function strftime...
so i am looking for some variable or function which can tell me the current timezone..
and i have to find the solution only within the ANSI/C89 boundaries..the functions like localtime must be using something to chge the time from UTC to localtime..