My first Extension - Gtools

extension

#1

For version 4 check here

This is my first extension Gtool
Thanks @Conor , @ILoveThunkable , @Everyone(for support and suggestions)
It have general tools we usually use in apps.
com.jerin.aix (16.9 KB)

1.Get current date.
2.Get current time.
3.Creates an 5 digit number.
4.Get country code,First letter of each word should be capital.(eg:United States Of America)
5.Parse email from a text string(not multiple emails)
Also it can use for checking email address.
6.It don’t need internet connection.

For keep thinking need internet
For internet need to recharge
For recharge need money
So
If you want to donate
https://www.paypal.me/JAKSONJACOBP/1 (Don’t worry it’s my brothers payapl.)
Please give feedback.

Thanks,
Jerin_Jacob.


#2

Thanks Jerin, this looks really interesting.

Just wondering, where do you “get” your OTP from? Does this work with Google Authenticator?

Ah, I see you’ve edited your post, ok thanks for including the extra info!


#3

nice start as extension developer… keep up the good work!

you also might want to follow the naming conventions, which is UpperCamelCase for property, method and event names and lowerCamelCase (i.e. the first letter should be lower case) for parameter names

example:

Thank you!

Also, which format does the GetCurrentDate and GetCurrentTime methods provide?
Are you aware, that the Clock.FormatDate method offers maximum flexibility using the pattern parameter?
For all possible patterns, see here.
Example: How to get a date in format YYYY-MM-DD

Taifun


#4

Great work! Just wondeting what does current time return? 12:00pm or 12:00:00?


#5

Thanks @Taifun for the suggestion.


#6

It will return 12:00:00 PM.