Jump to content

Recommended Posts

OK,

 

I use a page called "PHPRAID" to organise raids for my wow guild.

 

I have to manualy add each raid setting the time/date.

 

Now im trying to use the "import" function to add them via a file and so far i have got

 

INSERT INTO `phpraid_raids` VALUES(89, 'Kara', 1, '1192818600', 'Karazhan', 'Cider', 0, '1192920400', 2, 1, 2, 2, 2, 2, 2, 2, 2, 70, 70, '10');

INSERT INTO `phpraid_raids` VALUES(84, 'Kara', 1, '1192818600', 'Karazhan', 'Cider', 0, '1193020400', 2, 1, 2, 2, 2, 2, 2, 2, 2, 70, 70, '10');

 

Now from my understanding the "'1192818600'" and "'1193020400'" set the date, invite time and start time, but i have NO idea how it works lol

 

can anyone shed any light onto this?

 

Link to comment
https://forums.phpfreaks.com/topic/73974-noob-needs-help-phpraid/
Share on other sites

That's what's called a Unix timestamp. Basically, it's the number of seconds since 1.1.1970. PHP, MySQL, and many more programming/scripting languages and systems use these timestamps to keep track of dates- it's an easy way to handle dates and it can be manipulated easily.

 

Orio.

if you don't want to have to deal with this, cider, i recommend moving to EQDKP. there's a package called EQDKP plus which is highly modded for WoW, and has it's own plugins you can download from their website. Get the one called raid planner. You don't need to do any manual database insertion to set up raids with it :)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.