1
Programming using the Ultra Hal Brain Editor / Time and date functions : Iso Date?
« on: July 02, 2005, 11:23:29 pm »
Hi,
I've been experimenting with various time and date functions, including the memory, halpast and the Date Difference Qualified Demo brain available on this site.
I'm not a programmer, but I've found I can't get them to operate correctly because I'm in Australia ie; we use d/m/y, not m/d/y as in the us. If I change system setting they work. This is most likely a fairly universal problem outside the US I would think.
I've attempted an Iso date conversion routine, which I've probably implemented incorrectly, etc.
Is there a way to specify within the VBscript a date format which can then be used by any following routines?
Having Hal respond with time related conversational information could be very useful, especially in the forthcoming (soon I hope) SQLite based brain.
R.
I've been experimenting with various time and date functions, including the memory, halpast and the Date Difference Qualified Demo brain available on this site.
I'm not a programmer, but I've found I can't get them to operate correctly because I'm in Australia ie; we use d/m/y, not m/d/y as in the us. If I change system setting they work. This is most likely a fairly universal problem outside the US I would think.
I've attempted an Iso date conversion routine, which I've probably implemented incorrectly, etc.
Is there a way to specify within the VBscript a date format which can then be used by any following routines?
Having Hal respond with time related conversational information could be very useful, especially in the forthcoming (soon I hope) SQLite based brain.
R.