Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-17-2007, 03:09 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Hmmm
We could add a date() function which is similar to format,
e.g. date("%Y-%m-%d",timevar2[,timezone]) which would print the time variable in a readable format. That would work on serverside-only though, the clientside timevar2 is not synchronized to the correct unix time yet (there is timevar3 on Graal3D though).
Reply With Quote
  #2  
Old 02-17-2007, 03:13 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Stefan View Post
Hmmm
We could add a date() function which is similar to format,
e.g. date("%Y-%m-%d",timevar2[,timezone]) which would print the time variable in a readable format. That would work on serverside-only though, the clientside timevar2 is not synchronized to the correct unix time yet (there is timevar3 on Graal3D though).
Yeah, that what I've been planning to do, but it would be better if it were built-in.

How far is timevar2 off? Only by a couple of seconds at most, it seems.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:41 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.