Method code for $world_time.current_season()

[Turn on line numbering]
var t;

// This is not very flexible, but works well enough. Note that southern
// hemisphere needs another object, with opposite seasons.
return ["spring", "summer", "fall", "winter"][.local_time() / 2592000 % 4 + 1];

// $#Edited: 29 Mar 97 18:39 $miro
// $#Edited: 12 Sep 97 02:04 $miro

["// Created 19-Nov-1996 as a part of ColdCore, see: @help Credit"]

the Cold Dark