lizard Posted August 8, 2007 Report Share Posted August 8, 2007 Visu dienu mokos nesanak neka, Ka lai es pie DATETIME ko no mysql izvilku piesumeju klat 2 nedeljas? 2007-08-08 14:03:34 piemeram laiks un japiesume klat 2 nedeljas un beigas jadabun 2007-08-22 14:03:34 Paldies Link to comment Share on other sites More sharing options...
andrisp Posted August 8, 2007 Report Share Posted August 8, 2007 mysql manuāli date_add fja. Link to comment Share on other sites More sharing options...
v3rb0 Posted August 8, 2007 Report Share Posted August 8, 2007 ja php pusee, tad echo date('Y-m-d H:i:s', strtotime('+2 weeks', strtotime('2007-08-08 14:03:34'))); mysql ar bija daudz visādas smukas f-jas datumiem, bet kādu laiciņu nelietoju mysql un vairs neatceros no galvas. Link to comment Share on other sites More sharing options...
lizard Posted August 8, 2007 Author Report Share Posted August 8, 2007 v3rb0, paldies. Alinsh no manis :) Link to comment Share on other sites More sharing options...
Recommended Posts