1. RE: TZ

Why don't you want to use includes?

Includes provide you with a way to write bits of reusable code, test it 
and pack it away in a separate file, knowing that the code works and you 
don't have to mess with it or even look at it again.

An include file is no different from your main source code except that 
it can be in a different namespace.

There is no reason to not use include files. Although, it gets 
cumbersome when you have 20 different include files all chained 
together, but you quickly learn how to manage them.

You will not find very many sophisticated programs in the RDS archives 
that don't use include files.


To answer your question though, AFAIK, the timezone is a windows 
registry setting and is not found anywhere else on the computer system, 
so you are probably not going to find an easier way of retrieving it.


Chris

Robsz2 at aol.com wrote:
> Thanks but is there an easier way of doing this?
> I am a novice and by the looks of it, it uses the registry.
> I dont want to any includes.
> 
> But if there isn't a way i guess I'll get it working whit what you 
> provided.
> 
> 
> Thanks.
> 
>

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu