Using System's Date

This is a discussion / support forum for the Hugo programming language by Kent Tessman. Hugo is a powerful programming language for making text games / interactive fiction with multimedia support.

Hugo download links: https://www.generalcoffee.com/hugo
Roody Yogurt's Hugo Blog: https://notdeadhugo.blogspot.com
The Hugor interpreter by RealNC: http://ifwiki.org/index.php/Hugor

Moderators: Ice Cream Jonsey, joltcountry

Merk
Posts: 192
Joined: Mon Nov 22, 2004 3:19 pm
Location: Wichita, KS
Contact:

Using System's Date

Post by Merk »

Is there a good (and cross-platform) way to check and parse the system date? If nobody knows, I'll look a little harder at the manual. :)

What I'm after is a way to know whether it's before or after a certain real calendar date -- for instance, whether it's before or after October 15th 2006 -- so that my work-in-progress can display a different screen accordingly.

Anybody know? Surely it's possible, and hopefully it's simple. :)

Kent
Posts: 119
Joined: Fri Jun 27, 2003 12:10 pm

Post by Kent »

Check out time.hug in the FB source.

Merk
Posts: 192
Joined: Mon Nov 22, 2004 3:19 pm
Location: Wichita, KS
Contact:

Post by Merk »

Thanks. Will do!

Post Reply