Finding the day of the week
Date and Time functions are always tricky once you need to discover other information besides the year, month, day, hour, minute, and second. There are no methods to work with adding and subtracting days or finding out what the current timezone offset is. I started to work on my week day bar chart and ran into a problem with determining what day of the week it was. I found some code on the wiki but found that it didn’t compensate for daylight savings. I made my own version and posted the source. Plus there is a nice box waiting for anyone who wants to take a copy in my shop. Woodbridge (87, 97) - Dec 29, 2007 (339 days ago) by Dedric Mauriac Tags for this Snapshotadding bar box chart code compensate copy current date day daylight dayoftheweeksome days determining discover finding found functions hour hrefhttps information made methods minute month nice offset posted problem ran savings secondlife shop source started subtracting time timezone tricky version waiting week wiki woodbridge work year Leave a CommentYou're not logged in. If you want to post a comment, please log in. |
Snapshots NearbyHere are some other snapshots from this area:
Send in your snapshotsTo send in your own snapshots, simply send them as postcards to pics@slbuzz.com directly from within Second Life. You don't even need to be an SLBuzz member! So give it a shot! If you want to, we can even crosspost them to your flickr account automagically—simply link your SLBuzz account with flickr, and send snapshots to flickr@slbuzz.com. |