Thanks everyone for the detailed responses, I greatly appreciate it.
I'm new to RunRev, but I'm extremely impressed with the amount of work you can do with such a small amount of code.
Thanks again,
Tony
Search found 3 matches
- Fri Jan 14, 2011 8:51 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: "Convert" doesn't work with variable holding seconds
- Replies: 7
- Views: 5560
- Fri Jan 14, 2011 12:45 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: "Convert" doesn't work with variable holding seconds
- Replies: 7
- Views: 5560
Re: "Convert" doesn't work with variable holding seconds
It looks like it is some type of casting bug with the value of the variable holding the seconds time stamp.
If I modify my code and do:
convert (myVar & "") to dateItems
....it works.
Appending a "" (empty string) onto the end of my numeric value of the original time stamp solves the problem.
If I modify my code and do:
convert (myVar & "") to dateItems
....it works.
Appending a "" (empty string) onto the end of my numeric value of the original time stamp solves the problem.
- Fri Jan 14, 2011 12:25 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: "Convert" doesn't work with variable holding seconds
- Replies: 7
- Views: 5560
"Convert" doesn't work with variable holding seconds
if I do this:
-- =====================
convert "1294811623" to dateItems
convert it from dateItems to long date and long time
answer it
-- =====================
...It Works!. I get a nice properly formatted date like I would expect. BUT if I do this:
-- =======================
put "1294811623" into ...
-- =====================
convert "1294811623" to dateItems
convert it from dateItems to long date and long time
answer it
-- =====================
...It Works!. I get a nice properly formatted date like I would expect. BUT if I do this:
-- =======================
put "1294811623" into ...