scripts lineage2  :::  Server Packs lineage 2 — best scripts for admin servers   :::  Projects lineage Turnkey
Login:   Password:  

Protection:

  Anticheat, Antibot


Special Offers

Sales


Catalog

Server Packs
Turnkey Projects
L2s-Guard Protection
Master Account
Templates Lineage 2
Events
GeoData




contacts:


Skype: EN,RU Manager:




Test Servers:

  L2-Scripts.com


Advertisment:



So, let's begin. I like the example, take your date to the siege.
To begin, open Navicat, go to our database, opening the table “castle”. In this table, locate the column “siegeDate”, it is that figure that contains the date and the time of the siege.
I the siege Aden is 1238252400000 is 28.09.2009.
If You need to move the siege to 7 days in advance, then perform the following calculation:
7 days x 24(hours in day) x 60(minutes in an hour) x 60(seconds in hour) x 1000(milliseconds in second) = 604800000. We did it in a number equal to 7 days.. ie, to move the date of the siege for 7 days we add this number to our number in the database: 604800000 + 1238252400000 = 1238857200000
Copy the number that turned out and insert in the column “siegeDate” instead of the old number. That's all.

P. s: the numbers can add and subtract) I hope the logic is clear)

Printer friendly version Printer friendly version


Currency

Partners:


2007-2018 © l2-scripts.com Freelance Studio.
 

scripts lineage 2  :::  Server packs: Salvation, Grand crusade, Helios, Saviors, l2Classic, High Five — Project lineage 2 Turnkey
buy server lineage turnkey  :::  Server pack Grand Crusade, Helios, L2Classic — buy server Helios   :::  How to create server la2
Development projects lineage2 turnkey  :::  buy build Interlude — Development build High Five   :::  Lineage 2 turnkey
Creation of sites for lineage 2  :::  Website development lineage — Master Account l2   :::  lineage 2 website turnkey
Development of L2Classic l2j packs  :::  Buy server pack Grand Crusade — protection lineage2   :::  Guard lineage 2