Posts by Tiago de Abreu • 36 points
3 posts
-
1
votes4
answers11103
viewsA: How to get the last days of the month in PHP
Quiet just use the date class along with the strtotime. <?php $P_Dia_Mes_Atual = date("Y-m-01 00:00:00:00"); $U_Dia_Mes_Atual = date("Y-m-t 00:00:00:00"); $P_Dia_Mes_Anterior = date("Y-m-01…
-
0
votes1
answer59
viewsA: Change last commit message in GIT and push in GITHUB
Changing the last commit in the Git repository... 1-On the command line, navigate to the repository that contains the commit you want to fix. 2-Type git commit --Amend and press Enter. 3-In the text…
githubanswered Tiago de Abreu 36 -
0
votes4
answers2496
viewsA: Do not open more than one form at the same time in C#
Hermano cool, open the form that way: DialogResult dialogResult = frmNomeDoSeuForm.ShowDialog(); But I have a tip, as today the needs of multiscreen systems would be interesting you just check if…