| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Quote:
datetime aDateTime[n] = StrToTime(eDate[n]+" "+eTime[n]);
__________________
"Don't work harder, work smarter." -- my Java professor Coder for Hire: http://www.firecell-fx.com |
|
|||
|
Quote:
datetime StrToTime( string value) Converts string in the format "yyyy.mm.dd hh:mi" to datetime type (the amount of seconds that have passed since 1 Jan., 1970). So the suggestion of Ryan should work if eDate[] and eTime[] are right formated (yyyy.mm.dd) and (hh:mi) PHP Code:
Last edited by Michel; 07-06-2007 at 09:35 AM. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Playing with datetime... | lucidlamp | Metatrader 4 | 0 | 06-28-2007 04:16 PM |
| question | evgeni1980 | Questions | 4 | 11-27-2006 01:32 PM |
| EA question | yaniv_av | Expert Advisors - Metatrader 4 | 1 | 11-14-2006 12:10 PM |
| How to add a day at a datetime variable ? | Pierre2006 | Metatrader 4 | 2 | 09-22-2006 02:05 PM |