Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
$asctime check
Forums
Active Threads
Search
Who's Online
Help
Print Thread
$asctime check
#
196765
23/03/08
12:25 AM
I
ix007
ix007
I
I want to check if something is in an $asctime(hh:nntt) format but all the methods I have tried had failed. Any suggestions?
$asctime(hh:nntt) == 10:23pm
I was thinking $iif(time == $asctime(hh:nntt),f,t) but that wouldn't work!
Thanks ahead!
Copy Link to Clipboard
Re: $asctime check
#
196766
23/03/08
12:35 AM
Joined:
Jan 2003
Posts: 2,125
Q
qwerty
Hoopy frood
qwerty
Hoopy frood
Q
Joined:
Jan 2003
Posts: 2,125
Assuming the string you want to check is $1:
Code:
if ($time($ctime($date $1),hh:nntt) == $1) { echo -a $1 matches format "hh:nntt" }
Copy Link to Clipboard
Re: $asctime check
qwerty
#
196772
23/03/08
01:12 AM
I
ix007
ix007
I
thank you.
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage