#Fri Jul 09 08:07:54 GMT+01:00 2021
autoversion=93831.0
time=1625814474213
Log($"compilation time: $DateTime{mmCompileInfo.Get("time")}"$)
compilation time: 07/09/2021 03:07:54
"compiletime.jar" is created by Erel, not by me.Revriting compiletime. Not a complicated task. ?
I assume that you mean 'time'Hi, I know that the important data is "date",
Hi, I don't use that command anywhere, I have done a search (ctrl-f) all over the program and that doesn't show up.Are you calling DateTime.SetTimezoneOffset somewhere? Don't.
Yes, "time", sorry.I assume that you mean 'time'
#Region Project Attributes
#ApplicationLabel: preventa
#SupportedOrientations: portrait
#VersionCode: 20210606
#VersionName: 29 MultiEmp
#CustomBuildAction: 2, C:\java\jdk-11.0.1\bin\java.exe, -jar c:\Proyectos\compiletime.jar
#BridgeLogger: True
#End Region
The result is the same, so I don't understand anything at all.#CustomBuildAction: 2, C:\java\jdk-11.0.1\bin\java.exe, -jar c:\Proyectos\mcompiletime.jar
'Non-UI application (console / server application)
#Region Project Attributes
#CommandLineArgs:
#MergeLibraries: True
#End Region
Sub Process_Globals
End Sub
Sub AppStart (Args() As String)
Dim cFile As String = "compiletime.txt"
Dim cDirFiles As String = "..\Files\"
Dim iComp As Int
Dim mmap As Map
'
mmap.Initialize
DateTime.DateFormat = "dd.MM.yyyy HH:mm:ss"
'
Try
mmap = File.ReadMap(cDirFiles,cFile)
iComp = mmap.Get("autoversion")
Catch
iComp = 0
End Try
iComp = iComp +1
'
mmap.Put("autoversion",iComp)
mmap.Put("time",DateTime.Now)
'
File.WriteMap(File.DirApp,cFile,mmap)
File.Copy(File.DirApp,cFile, "..\Files\",cFile)
End Sub