Search found 5 matches

by fanny
Tue Jun 22, 2021 3:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Date & time format 'YYYY-MM-DD hh:mm:ss'
Replies: 2
Views: 14834

Date & time format 'YYYY-MM-DD hh:mm:ss'

Hi guys.
I want to get the current time in this format : 'YYYY-MM-DD hh:mm:ss',
- I tried the long and short formats but I need this one.
afterwards I need to verify if this date is between two other dates.
- I get the other dates from the database, thats why I think it needs to be in the format ...
by fanny
Tue Jun 08, 2021 1:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: multiply a time format with a percentage
Replies: 3
Views: 3211

Re: multiply a time format with a percentage


Hi Fanny,

the trick is to convert to SECONDS first like this, tested and works:
on mouseUp
put "00:03:25" into tDate

## We need to subtract the whole day from the seconds or we will get something like:
## 85632:01:43 instead of the desired 00:01:43
put the date into tDatum
convert tDatum ...
by fanny
Thu May 20, 2021 2:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: multiply a time format with a percentage
Replies: 3
Views: 3211

multiply a time format with a percentage

hey i really need some help. I am trying to mulitply a time format with a number example:

00:03:25 * 0,5 - > ??:??:??

i tried splitting the string and then mulitplient everything by itself, but then I have an array with these items: [00, 03, 35] and I would have to delete the leading zeros, and I ...
by fanny
Thu Apr 29, 2021 10:52 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Mask a Password and reuse the text afterwards
Replies: 29
Views: 22122

Re: Mask a Password and reuse the text afterwards

sorry for only answering now, I thought I woul get a email notification or something if something was posted, but nvm.

thank you so much far the many answers, I will need to look through them and try what works best. But I am so thankful for your help!
To clarify the statemtn "use the password ...
by fanny
Mon Apr 26, 2021 2:56 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Mask a Password and reuse the text afterwards
Replies: 29
Views: 22122

Mask a Password and reuse the text afterwards

Hello,
I created a Login and want to mask the password.
I already searched a lot but I did not find the right code. I need to reuse the masked password afterwards. Has somebody a idea how to do it?
I tried it with a special font which consist of blobs but I want to do it without a Password font

The ...